/**
 * PII and data leak detector for AI responses.
 *
 * Scans text for sensitive information patterns (email, phone, SSN, credit card,
 * API keys, private IP addresses) and custom seed patterns.
 *
 * Use it to detect when AI endpoints accidentally leak PII from context/training data.
 */
export interface PiiDetection {
    type: "email" | "phone" | "ssn" | "credit_card" | "api_key" | "ip_private" | "custom";
    value: string;
    position: number;
    severity: "critical" | "high" | "medium";
    context: string;
}
export declare function scanForPii(text: string, seedPii?: string[]): PiiDetection[];
//# sourceMappingURL=pii.d.ts.map