import winston from 'winston'; /** What a redacted value is replaced with. */ export declare const REDACTED = "[REDACTED]"; /** * Copy of `value` with the values of `keys` (lower-case) replaced at any * depth, matching keys case-insensitively. Only plain objects and arrays are * walked; anything else (Errors, Dates, class instances, strings) is returned * as is. Never mutates `value`. */ export declare function redactValue(value: unknown, keys: ReadonlySet, seen?: WeakMap): unknown; /** * Winston format that redacts a log entry's fields before any transport sees * them. The message text is never rewritten: put sensitive values in fields. */ export declare const createRedactFormat: (keys: readonly string[]) => winston.Logform.Format;