/** * Workspace 内 Session 附件的本地实现。 * * Data URL 在这里解码为文件;Message 层只接收相对 Workspace 根目录的文件引用。 */ import type { FileSystem } from "../../types/workspace/FileSystem.js"; import type { SessionAttachmentStore } from "../../types/store/SessionAttachmentStore.js"; export interface LocalSessionAttachmentStoreOptions { /** Workspace 文件能力。 */ files: FileSystem; /** 当前 Session 附件目录的绝对路径。 */ attachments_dir_path: string; } /** Session 附件本地持久化实现。 */ export declare class LocalSessionAttachmentStore implements SessionAttachmentStore { private readonly files; private readonly attachments_dir_path; constructor(options: LocalSessionAttachmentStoreOptions); persist_data_url(input: { data_url: string; media_type: string; filename?: string; }): Promise; } //# sourceMappingURL=LocalSessionAttachmentStore.d.ts.map