import type { AddAttachmentInput, Attachment, AttachmentRef, AttachmentStore } from '../types/attachment.js'; import type { ContentBlock } from '../types/blocks.js'; export interface AttachmentStoreOptions { /** * Directory for spooling payloads larger than `spoolThresholdBytes`. * When omitted, all payloads stay in memory. */ spoolDir?: string | undefined; spoolThresholdBytes?: number | undefined; } /** * In-memory attachment store with optional disk spool. Placeholder syntax * is `[ #]` (seq-keyed) or `[file:]` (path-keyed) where kind * is `pasted` / `image` / `file`. Unknown placeholders are passed through * as-is so users can write that literal text without losing it. */ export declare class DefaultAttachmentStore implements AttachmentStore { private readonly items; private readonly refs; private nextSeq; private readonly spoolDir; private readonly spoolThreshold; constructor(opts?: AttachmentStoreOptions); add(input: AddAttachmentInput): Promise; get(id: string): Promise; list(): AttachmentRef[]; expand(text: string): Promise; clear(): Promise; private toBlock; } //# sourceMappingURL=attachment-store.d.ts.map