import type { ItemId, ThreadMetadata, ToolInputValue, ToolResultEnvelope, Turn } from "@best-agent/protocol";
import type { ToolExecutionResultMetadata } from "../../tool/registry.js";
import type { ToolResumeContext } from "../checkpoint-codec.js";
import type { ToolExecutionRuntime } from "./tool-execution-types.js";
import type { ToolShellDebugBase } from "./tool-execution-types.js";
export declare function persistToolOutput(input: {
    appendEvidence?: boolean;
    debugEventPrefix?: string;
    envelopeOverride?: Partial<ToolResultEnvelope>;
    output: string;
    resultMetadata?: ToolExecutionResultMetadata;
    runtime: ToolExecutionRuntime;
    shellDebugBase?: ToolShellDebugBase;
    structuredContent?: ThreadMetadata;
    toolCallId: ItemId;
    toolInput: ToolInputValue;
    toolName: string;
    turn: Turn;
    resumeContext: ToolResumeContext;
}): Promise<void>;
//# sourceMappingURL=tool-result-persistence.d.ts.map