/**
 * PII and sensitive data redaction for security
 */
import type { PiiRedactionRules } from './types.js';
/**
 * Default redaction paths for common sensitive data
 */
export declare const DEFAULT_REDACT_PATHS: string[];
/**
 * Patterns for detecting sensitive data
 * @internal
 */
export declare const SENSITIVE_PATTERNS: RegExp[];
/**
 * Redact a value if it matches sensitive patterns
 */
export declare function redactValue(value: unknown): unknown;
/**
 * Redact email addresses with partial masking
 */
export declare function redactEmail(email: string): string;
/**
 * Redact user IDs with partial masking
 */
export declare function redactUserId(userId: string | number): string;
/**
 * Create redaction rules based on configuration
 */
export declare function createRedactionRules(customPaths?: string[], emailRedaction?: boolean, userIdRedaction?: boolean): PiiRedactionRules;
/**
 * Apply redaction to a log entry
 */
export declare function redactLogEntry(logEntry: Record<string, unknown>, rules: PiiRedactionRules): Record<string, unknown>;
/**
 * Validate redaction rules
 */
export declare function validateRedactionRules(rules: PiiRedactionRules): boolean;
//# sourceMappingURL=redaction.d.ts.map