import { DraftMessage } from "@/pages/draft/types/DraftTypes";

export type SharedStoreType = {
  openSidebar: boolean;
  setOpenSidebar: (value: boolean) => void;
  openNewMessage: boolean;
  setOpenNewMessage: (value: boolean) => void;
  draftData: DraftMessage | null;
  setDraftData: (draft: DraftMessage | null) => void;
  editingDraftId: number | null;
  setEditingDraftId: (id: number | null) => void;
};

export type MailboxCount = {
  id: string;
  name: string;
  unseen: number;
  total: number;
};
