export declare const REDACTED = "[REDACTED]"; export declare const DEFAULT_SECRET_KEY_RE: RegExp; export interface RedactOptions { maskKeys?: string[]; keyPattern?: RegExp; maskValues?: boolean; maxDepth?: number; patterns?: RegExp[]; replacement?: string; } export declare function isSecretKey(key: string, options?: RedactOptions): boolean; export interface RedactStringOptions { patterns?: RegExp[]; replacement?: string; } export declare function redactString(value: string, options?: RedactStringOptions): string; export declare function redact(value: T, options?: RedactOptions): T;