export { canonicalToolArtifactRoot } from "@mono-agent/observability"; /** Validate a newly reported artifact without following provider-controlled symlinks. */ export declare function validatedToolHistoryArtifactPath(candidate: string, artifactRoot: string, runId: string, trustedRootAliases?: readonly string[]): string | undefined; /** Recompute availability for a path that was validated before insertion. */ export declare function toolHistoryArtifactAvailable(candidate: string, artifactRoot: string, runId: string): boolean; export interface ToolHistoryArtifactSinkInput { readonly filename: string; readonly buffer: Buffer; readonly toolName: string; readonly toolUseId: string | null; } /** Build one synchronous, best-effort artifact writer bound to a trusted run. */ export declare function createToolHistoryArtifactSink(options: { readonly artifactRoot: string; readonly runId: string; }): (artifact: ToolHistoryArtifactSinkInput) => string | null; /** @internal Source-module fault injection; intentionally not exported by the package barrel. */ export declare function createToolHistoryArtifactSinkForTests(options: { readonly artifactRoot: string; readonly runId: string; }, validateArtifactPath: typeof validatedToolHistoryArtifactPath): (artifact: ToolHistoryArtifactSinkInput) => string | null; //# sourceMappingURL=tool-history-artifacts.d.ts.map