export type RedactOptions = string[] | { paths: string[]; censor?: any; }; export interface Redactor { redact(value: any): void; } export declare function compileRedactor(config?: RedactOptions | null): Redactor | null;