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 PIIRedactionPluginEnId: {
    readonly PiiRedaction: "pii_redaction";
};
/**
 * Plugin discriminator. Must be `pii_redaction`.
 */
export type PIIRedactionPluginEnId = ClosedEnum<typeof PIIRedactionPluginEnId>;
/**
 * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
 */
export declare const PIIRedactionPluginEnOnFailure: {
    readonly Block: "block";
    readonly Passthrough: "passthrough";
};
/**
 * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
 */
export type PIIRedactionPluginEnOnFailure = ClosedEnum<typeof PIIRedactionPluginEnOnFailure>;
/**
 * Detector language.
 */
export declare const Language: {
    readonly En: "en";
};
/**
 * Detector language.
 */
export type Language = ClosedEnum<typeof Language>;
export declare const PIIRedactionPluginEnEntities: {
    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 PIIRedactionPluginEnEntities = ClosedEnum<typeof PIIRedactionPluginEnEntities>;
export type PIIRedactionPluginEn = {
    /**
     * Plugin discriminator. Must be `pii_redaction`.
     */
    id: PIIRedactionPluginEnId;
    /**
     * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
     */
    onFailure?: PIIRedactionPluginEnOnFailure | undefined;
    /**
     * Detector confidence cutoff in [0,1].
     */
    threshold?: number | undefined;
    /**
     * Detector language.
     */
    language: Language;
    /**
     * English entity types to redact. Omit to redact every type detected for the language.
     */
    entities?: Array<PIIRedactionPluginEnEntities> | undefined;
};
/** @internal */
export declare const PIIRedactionPluginEnId$inboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnId>;
/** @internal */
export declare const PIIRedactionPluginEnId$outboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnId>;
/** @internal */
export declare const PIIRedactionPluginEnOnFailure$inboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnOnFailure>;
/** @internal */
export declare const PIIRedactionPluginEnOnFailure$outboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnOnFailure>;
/** @internal */
export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
/** @internal */
export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
/** @internal */
export declare const PIIRedactionPluginEnEntities$inboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnEntities>;
/** @internal */
export declare const PIIRedactionPluginEnEntities$outboundSchema: z.ZodNativeEnum<typeof PIIRedactionPluginEnEntities>;
/** @internal */
export declare const PIIRedactionPluginEn$inboundSchema: z.ZodType<PIIRedactionPluginEn, z.ZodTypeDef, unknown>;
/** @internal */
export type PIIRedactionPluginEn$Outbound = {
    id: string;
    on_failure?: string | undefined;
    threshold?: number | undefined;
    language: string;
    entities?: Array<string> | undefined;
};
/** @internal */
export declare const PIIRedactionPluginEn$outboundSchema: z.ZodType<PIIRedactionPluginEn$Outbound, z.ZodTypeDef, PIIRedactionPluginEn>;
export declare function piiRedactionPluginEnToJSON(piiRedactionPluginEn: PIIRedactionPluginEn): string;
export declare function piiRedactionPluginEnFromJSON(jsonString: string): SafeParseResult<PIIRedactionPluginEn, SDKValidationError>;
//# sourceMappingURL=piiredactionpluginen.d.ts.map