import type { ActionEntry } from "../agent/production-agent.js"; import { isTextLikeFilename, isTextLikeMimeType, type TextAttachmentStorage } from "../file-upload/attachment-text.js"; export { isTextLikeFilename, isTextLikeMimeType }; /** @internal exported for unit tests only */ export declare function clearAttachmentRereadCache(): void; /** @internal exported for unit tests only */ export declare function attachmentRereadCacheStats(): { entries: number; chars: number; }; export declare function persistTextAttachmentsAsResources(opts: { attachments: Array<{ type?: string; name?: string; contentType?: string; displayOnly?: boolean; text?: string; data?: string; url?: string; uploadProvider?: string; }>; threadId: string; ownerEmail: string | null | undefined; }): Promise>; export declare function createCoreAttachmentActionEntries(): Record;