import { type ArkmeComposerDraftStore } from './composer-draft-store.js'; /** Several personal topics share one conversation; each independent mounted surface owns a lease. */ export declare class ConversationDraftPresence { private readonly drafts; private owners; private visits; private listeners; private revision; constructor(drafts: ArkmeComposerDraftStore); readonly subscribe: (listener: () => void) => (() => void); readonly getRevision: () => number; isActive(draftKey: string | undefined): boolean; update(owner: symbol, draftKey: string | undefined): void; } export declare const conversationDraftPresence: ConversationDraftPresence; /** Input focus, menus and window focus do not affect this conversation-level lifetime. */ export declare function useConversationDraftPresence(draftKey: string | undefined): void; //# sourceMappingURL=conversation-draft-presence.d.ts.map