import { AgentAttachment } from '@multiplayer-app/ai-agent-types';

export interface ComposerDraft {
    value: string;
    attachments: AgentAttachment[];
}
/**
 * Public API for host apps to read/write the current composer draft (value + attachments),
 * including adding context attachments from anywhere in the UI.
 */
export declare const useComposerDraft: () => {
    chatKey: string;
    draft: {
        value: string;
        attachments: AgentAttachment[];
    };
    setValue: (value: string) => void;
    setDraft: (next: ComposerDraft) => void;
    clearDraft: () => void;
    addAttachments: (attachments: AgentAttachment[]) => void;
    removeAttachment: (attachmentId: string) => void;
};
//# sourceMappingURL=useComposerDraft.d.ts.map