export type SafeTranscriptPart = Record<string, unknown> & {
    type?: string;
    text?: string;
    content?: unknown;
};
export type SafeTranscriptMessage = {
    parts?: SafeTranscriptPart[];
};
export type SafeTranscriptResult = {
    text: string;
    reasoning_parts_omitted: number;
    tool_parts_included: number;
    redaction_count: number;
};
export declare function formatSafeTranscript(message: SafeTranscriptMessage | undefined, options?: {
    includeToolContent?: boolean;
    maxChars?: number;
}): SafeTranscriptResult;
export declare function countRedactions(input: string): number;
