import { ComposerAttachment } from "./composerStore.mjs"; import { TransientTab, WebPluginContextItem } from "@agimon-ai/po-core/web"; import { Store } from "@tanstack/store"; //#region src/web/stores/composerSubmissionStore.d.ts /** Admission belongs to the session, not to whichever template currently shows its composer. */ export declare const composerSubmissionStore: Store, never>; export declare function attachmentPrompt(draft: string, attachments: ComposerAttachment[], tabContext?: WebPluginContextItem): string; /** Reads the latest draft and claims admission synchronously, including across a dashboard remount. */ export declare function submitComposerDraft(sessionId: string | null, delivery: 'submit' | 'queue', composerContext?: TransientTab['composerContext']): Promise; //#endregion //# sourceMappingURL=composerSubmissionStore.d.mts.map