export interface AllocatedArtifact { path: string; id: string; } export declare class ArtifactManager { #private; constructor(dir: string); get dir(): string; allocate(toolType: string): AllocatedArtifact; save(content: string, toolType: string): string; /** Resolve a numeric id to its artifact file path, matching by `${id}.` prefix. */ resolve(id: string): string | undefined; list(): string[]; } /** Returns a shared ArtifactManager for a session artifacts dir (cached per dir). */ export declare function getArtifactManager(artifactsDir: string): ArtifactManager; export declare function resetArtifactManagerCache(): void; //# sourceMappingURL=artifacts.d.ts.map