/** * PII Redaction — lightweight regex-based scanning for common PII patterns. * * Replaces detected PII with tokens (e.g., ). * Zero external dependencies. */ /** * Scan `text` for PII patterns and replace each match with its entity token. */ export declare function redactPiiInString(text: string): string; /** * Apply PII redaction to `value`. * * Handles: * - `string` — scanned directly. * - `string[]` — each element scanned. * - Anything else — returned as-is. */ export declare function redactPiiInValue(value: T): T; //# sourceMappingURL=piiRedaction.d.ts.map