export declare const NEW_SESSION_CHAT_DRAFT_KEY = "__new-session__"; export declare function getSessionChatDraftKey(sessionId: string): string; export declare function getNewSessionChatDraftKey(sessionType?: 'main' | 'looper'): string; export interface ChatDraftAttachment { id: string; type: 'image' | 'pdf' | 'text' | 'binary'; name: string; mediaType: string; attachmentId: string; original: { filename: string; size: number; sha256: string; mimeType: string; }; } interface ChatDraftState { drafts: Record; attachments: Record; setDraft: (key: string, value: string) => void; setAttachments: (key: string, attachments: ChatDraftAttachment[]) => void; } export declare const useChatDraftStore: import("zustand").UseBoundStore, "setState" | "persist"> & { setState(partial: ChatDraftState | Partial | ((state: ChatDraftState) => ChatDraftState | Partial), replace?: false): unknown; setState(state: ChatDraftState | ((state: ChatDraftState) => ChatDraftState), replace: true): unknown; persist: { setOptions: (options: Partial>) => void; clearStorage: () => void; rehydrate: () => Promise | void; hasHydrated: () => boolean; onHydrate: (fn: (state: ChatDraftState) => void) => () => void; onFinishHydration: (fn: (state: ChatDraftState) => void) => () => void; getOptions: () => Partial>; }; }>; export {}; //# sourceMappingURL=chatDraftStore.d.ts.map