import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Plugin discriminator. Must be `pii_redaction`.
 */
export declare const Id: {
    readonly PiiRedaction: "pii_redaction";
};
/**
 * Plugin discriminator. Must be `pii_redaction`.
 */
export type Id = ClosedEnum<typeof Id>;
/**
 * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
 */
export declare const OnFailure: {
    readonly Block: "block";
    readonly Passthrough: "passthrough";
};
/**
 * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
 */
export type OnFailure = ClosedEnum<typeof OnFailure>;
export declare const Entities: {
    readonly Age: "AGE";
    readonly ApiKey: "API_KEY";
    readonly BankRouting: "BANK_ROUTING";
    readonly Bic: "BIC";
    readonly BiometricId: "BIOMETRIC_ID";
    readonly BloodType: "BLOOD_TYPE";
    readonly Bsn: "BSN";
    readonly CreditCard: "CREDIT_CARD";
    readonly Crypto: "CRYPTO";
    readonly DateTime: "DATE_TIME";
    readonly DeviceId: "DEVICE_ID";
    readonly EducationLevel: "EDUCATION_LEVEL";
    readonly EmailAddress: "EMAIL_ADDRESS";
    readonly EmploymentStatus: "EMPLOYMENT_STATUS";
    readonly Gender: "GENDER";
    readonly HealthPlanId: "HEALTH_PLAN_ID";
    readonly HttpCookie: "HTTP_COOKIE";
    readonly IbanCode: "IBAN_CODE";
    readonly Id: "ID";
    readonly IdCard: "ID_CARD";
    readonly Imei: "IMEI";
    readonly IpAddress: "IP_ADDRESS";
    readonly Jobtitle: "JOBTITLE";
    readonly Jwt: "JWT";
    readonly KvkNumber: "KVK_NUMBER";
    readonly Language: "LANGUAGE";
    readonly LicenseNumber: "LICENSE_NUMBER";
    readonly LicensePlate: "LICENSE_PLATE";
    readonly Location: "LOCATION";
    readonly MacAddress: "MAC_ADDRESS";
    readonly MedicalLicense: "MEDICAL_LICENSE";
    readonly MedicalRecord: "MEDICAL_RECORD";
    readonly Nrp: "NRP";
    readonly Organization: "ORGANIZATION";
    readonly Passport: "PASSPORT";
    readonly Password: "PASSWORD";
    readonly Person: "PERSON";
    readonly PhoneNumber: "PHONE_NUMBER";
    readonly Pin: "PIN";
    readonly PoliticalView: "POLITICAL_VIEW";
    readonly RaceEthnicity: "RACE_ETHNICITY";
    readonly ReligiousBelief: "RELIGIOUS_BELIEF";
    readonly Sexuality: "SEXUALITY";
    readonly TaxId: "TAX_ID";
    readonly Title: "TITLE";
    readonly UkNhs: "UK_NHS";
    readonly Url: "URL";
    readonly UsBankNumber: "US_BANK_NUMBER";
    readonly UsDriverLicense: "US_DRIVER_LICENSE";
    readonly UsItin: "US_ITIN";
    readonly UsPassport: "US_PASSPORT";
    readonly UsSsn: "US_SSN";
    readonly Uuid: "UUID";
    readonly VehicleId: "VEHICLE_ID";
};
export type Entities = ClosedEnum<typeof Entities>;
export type PIIRedactionPluginAuto = {
    /**
     * Plugin discriminator. Must be `pii_redaction`.
     */
    id: Id;
    /**
     * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
     */
    onFailure?: OnFailure | undefined;
    /**
     * Detector confidence cutoff in [0,1].
     */
    threshold?: number | undefined;
    /**
     * Entity types to redact when no detector language is configured. Omit to redact every detected type.
     */
    entities?: Array<Entities> | undefined;
};
/** @internal */
export declare const Id$inboundSchema: z.ZodNativeEnum<typeof Id>;
/** @internal */
export declare const Id$outboundSchema: z.ZodNativeEnum<typeof Id>;
/** @internal */
export declare const OnFailure$inboundSchema: z.ZodNativeEnum<typeof OnFailure>;
/** @internal */
export declare const OnFailure$outboundSchema: z.ZodNativeEnum<typeof OnFailure>;
/** @internal */
export declare const Entities$inboundSchema: z.ZodNativeEnum<typeof Entities>;
/** @internal */
export declare const Entities$outboundSchema: z.ZodNativeEnum<typeof Entities>;
/** @internal */
export declare const PIIRedactionPluginAuto$inboundSchema: z.ZodType<PIIRedactionPluginAuto, z.ZodTypeDef, unknown>;
/** @internal */
export type PIIRedactionPluginAuto$Outbound = {
    id: string;
    on_failure?: string | undefined;
    threshold?: number | undefined;
    entities?: Array<string> | undefined;
};
/** @internal */
export declare const PIIRedactionPluginAuto$outboundSchema: z.ZodType<PIIRedactionPluginAuto$Outbound, z.ZodTypeDef, PIIRedactionPluginAuto>;
export declare function piiRedactionPluginAutoToJSON(piiRedactionPluginAuto: PIIRedactionPluginAuto): string;
export declare function piiRedactionPluginAutoFromJSON(jsonString: string): SafeParseResult<PIIRedactionPluginAuto, SDKValidationError>;
//# sourceMappingURL=piiredactionpluginauto.d.ts.map