export declare const authFields: string[]; export declare const CIRCULAR_STR = "[circular]"; export declare const ARRAY_STR = "[array]"; export declare const OBJECT_STR = "[object]"; export declare const SENSITIVE_STR = "[sensitive]"; export declare const TRUNCATED_STR = "[truncated]"; /** * Sanitizes an authorization header in the formats "$type $credentials" or "$credentials". * * It works differently for each credential type: * - JWT: removes the "verify signature" section * - Other: removes the full credential * * @param auth The authorization header in the format "$type $credentials" */ export declare function sanitizeAuth(auth: string): string; export declare function cloneAndSanitizeObject(element: any, maxStrSize: number, depth: number, seenObjects?: any[], currentKey?: string): any;