import { CaptureStatusEvent, ComposerCapture } from "@agimon-ai/po-core/web"; import { Store } from "@tanstack/store"; //#region src/web/stores/captureStore.d.ts /** Pending delivery and execution own a subscription independently of route focus. */ export declare const pendingCaptureSessions: Store, never>; export declare function onCaptureStatus(listener: (event: CaptureStatusEvent) => void): () => void; /** Queue delivery never reads or mutates a composer draft. Resolution means accepted, not completed. */ export declare function submitCapture(sessionId: string | null, capture: ComposerCapture): Promise; /** Live frames only: a backlog must never claim a fresh execution. */ export declare function applyCaptureFrame(sessionId: string, frame: Record): void; export declare function disconnectCaptures(sessionId?: string): void; //#endregion //# sourceMappingURL=captureStore.d.mts.map