export interface ReadyAttachment { readonly fileRef: string; readonly fileId: string; readonly displayName: string; } export interface SubmitAttachmentQueue { hasDrafts(sessionId: string): boolean; waitUntilReady(sessionId: string): Promise; adoptAndClear(sessionId: string): Promise; } export declare function appendAttachmentLinks(text: string, attachments: readonly ReadyAttachment[]): string; export declare function installAttachmentSubmitAdapter(service: unknown, queue: SubmitAttachmentQueue): () => void;