import type { CapabilityRequest } from "@best-agent/protocol";
export declare const SHELL_APPROVAL_DISPLAY_MAX_CHARS = 2048;
export declare function renderShellArgvForHistory(argv: readonly string[]): string;
export declare function redactSecretLikeTextForHistory(text: string): string;
export declare function redactShellArgvForHistory(argv: readonly string[]): string[];
export declare function looksSecretLikeTextForHistory(value: string): boolean;
export declare function renderApprovalReasonForHistory(reason: string | undefined): string | undefined;
export declare function toHistorySafeCapabilityRequest(request: CapabilityRequest): CapabilityRequest;
export declare function summarizeCapabilityRequestForHistory(request: CapabilityRequest): string;
//# sourceMappingURL=capability-history.d.ts.map