export interface SlackLogSink { debug?(message: string, metadata?: Record): void; info?(message: string, metadata?: Record): void; warn?(message: string, metadata?: Record): void; error?(message: string, metadata?: Record): void; } /** Redact configured and recognizable Slack credentials from arbitrary text. */ export declare function redactSlackSecretText(text: string, knownSecrets?: readonly string[]): string; /** Render one error message without invoking user-controlled accessors or coercion hooks. */ export declare function redactSlackErrorMessage(error: unknown, knownSecrets?: readonly string[]): string; /** Match a trusted prototype without invoking Proxy prototype traps. */ export declare function isSafeSlackPrototypeInstance(value: unknown, prototype: object): boolean; /** Read one data property through a bounded, Proxy-free prototype walk. */ export declare function readSafeSlackDataProperty(value: unknown, key: string): unknown; /** * Wrap a logger at the adapter boundary so future log sites are safe even when * they pass nested errors, causes, request objects, URLs, or stacks. */ export declare function createSecretSafeSlackLogger(logger: SlackLogSink | undefined, knownSecrets: readonly string[]): SlackLogSink | undefined; //# sourceMappingURL=log-redaction.d.ts.map