import { z } from 'zod'; import type { WebStorage } from '@conciv/storage-history'; import type { ComposerDraft } from '../primitives/composer/composer-context.js'; declare const PersistedDraftSchema: z.ZodObject<{ text: z.ZodCatch; quote: z.ZodCatch>; attachments: z.ZodCatch>>; }, z.core.$strip>; export type PersistedComposerDraft = z.infer; export declare function readComposerDraft(storage: WebStorage, key: string): ComposerDraft | null; export declare function writeComposerDraft(storage: WebStorage, key: string, draft: ComposerDraft): Promise; export {}; //# sourceMappingURL=composer-draft-storage.d.ts.map