export interface PIIDetection {
    detected: boolean;
    patterns: string[];
    matches: Array<{
        type: string;
        value: string;
        position: number;
    }>;
    maskedText?: string;
}
export interface PIIConfig {
    enabled: boolean;
    patterns: {
        email: string;
        phone: string;
        ssn: string;
        creditCard: string;
        apiKey: string;
    };
    maskFormat: string;
}
export declare class PIIDetector {
    private config;
    constructor(config?: Partial<PIIConfig>);
    detect(text: string | any): PIIDetection | null;
    mask(text: string | any): string;
    detectAndMask(text: string | any): PIIDetection & {
        maskedText: string;
    } | null;
    private getMaskValue;
    private extractText;
    updateConfig(config: Partial<PIIConfig>): void;
    getConfig(): PIIConfig;
}
//# sourceMappingURL=pii-detector.d.ts.map