import type { FilesystemBackend } from "@b4run/workspace"; /** * Deterministic offload filename. Keyed on the tool_call_id when present * (unique per call in production; fixture-controlled in replay tests). Falls * back to a content hash when no id is available — still deterministic and * reproducible, since the caller controls the content. */ export declare function buildOffloadFileName(toolName: string, content: string, toolCallId?: string): string; export interface OffloadStoreOptions { readonly backend: FilesystemBackend; readonly workspaceRoot: string; readonly signal: AbortSignal; readonly maxBytes: number; readonly ttlMs: number; readonly gcThrottleMs: number; /** Injectable clock for tests. Defaults to Date.now. */ readonly now?: () => number; } export declare class OffloadStore { private readonly opts; private lastGcAt; constructor(opts: OffloadStoreOptions); private context; private now; /** Persist full content; returns the workspace-relative path. Runs throttled GC. */ write(toolName: string, content: string, toolCallId?: string, signal?: AbortSignal): Promise; private maybeGc; private safeRemove; } //# sourceMappingURL=offload-store.d.ts.map