import { ComposerSessionState } from "../../stores/composerStore.mjs"; import { TransientTab } from "@agimon-ai/po-core/web"; import { ReactNode } from "react"; //#region src/web/features/session/Composer.d.ts /** * Reads picked, pasted or dropped files into new attachments, numbered from * `current.nextAttachmentId` and budgeted after the ones already staged. */ export declare function readComposerFiles(sessionId: string, files: File[], current: Pick): Promise>; /** * Stages files on a session's composer. Reading and uploading are async, so * the batch reserves its ids and marks itself pending up front, then appends * to whatever the composer holds by the time it finishes: chips removed, a * message sent, or another batch staged meanwhile all stay as they are, and * the count and total budgets are checked again against that latest state. */ export declare function addComposerFiles(sessionId: string, files: File[]): Promise; export declare function Composer({ composerContext, quiet, toolbar }?: { composerContext?: TransientTab['composerContext']; /** A calmer frame for a template: short placeholder, no hint, Queue only during a run, icon-only send and abort. */ quiet?: boolean; /** Template controls placed after the attach button. */ toolbar?: ReactNode; }): import("react").JSX.Element | null; //#endregion //# sourceMappingURL=Composer.d.mts.map