import type { ToolInputValue, ToolSummary } from "@best-agent/protocol";
export type ToolHistoryInputDefinition = Readonly<{
    name: string;
    source: ToolSummary["source"];
    providerHistoryInput?: (input: ToolInputValue) => ToolInputValue;
    historyInput?: (input: ToolInputValue) => ToolInputValue | undefined;
    isContentBearingInput?: (input: ToolInputValue) => boolean;
}>;
export declare const CONTENT_TOOL_FOLLOW_UP_INPUT_TOOL_NAMES: Set<string>;
export declare function renderToolInputForProviderHistory(toolName: string, input: ToolInputValue): ToolInputValue;
export declare function isContentBearingToolInputForProviderHistory(toolName: string): boolean;
export declare function renderToolInputForProviderHistoryFromDefinition(tool: ToolHistoryInputDefinition, input: ToolInputValue): ToolInputValue;
export declare function toHistorySafeToolInputFromDefinition(tool: ToolHistoryInputDefinition, input: ToolInputValue): ToolInputValue | undefined;
export declare function isContentBearingToolInputForCheckpoint(tool: ToolHistoryInputDefinition, input: ToolInputValue): boolean;
export declare function toHistorySafeDisplayInput(toolName: string, displayInput: string, normalizedInput?: ToolInputValue): string;
export declare function toHistorySafeToolInput(toolName: string, input: ToolInputValue): ToolInputValue | undefined;
export declare function sanitizeStoredToolHistoryInput(toolName: string, input: ToolInputValue | undefined): ToolInputValue | undefined;
export declare function isToolInputRecord(value: ToolInputValue): value is Record<string, ToolInputValue>;
export declare function isToolInputValue(value: unknown): value is ToolInputValue;
export declare const SHELL_COMMAND_HISTORY_SAFE_MAX_CHARS = 2048;
//# sourceMappingURL=tool-history-input.d.ts.map