import { z } from "zod"; export declare const PERSONAL_DATA_CLASSES: readonly ["person-name", "national-id", "tax-id", "identity-document", "bank-account", "payment-card", "email", "phone", "address"]; export declare const PersonalDataClassSchema: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; export type PersonalDataClass = z.infer; export declare const PrivacyShieldModeSchema: z.ZodEnum<{ off: "off"; on: "on"; watch: "watch"; }>; export type PrivacyShieldMode = z.infer; export declare const PrivacyImagesSchema: z.ZodEnum<{ allow: "allow"; mask: "mask"; }>; export type PrivacyImages = z.infer; export declare const PrivacyNamesSchema: z.ZodEnum<{ dictionary: "dictionary"; model: "model"; }>; export type PrivacyNames = z.infer; export declare const PRIVACY_TRUSTED_MAX = 200; export declare const PRIVACY_ALLOW_MAX = 1000; export declare const allowKey: (value: string) => string; export declare const PRIVACY_CONVERSATIONS_MAX = 200; export declare const PRIVACY_OWN_LISTS_MAX = 20; export declare const PRIVACY_OWN_LIST_WORDS_MAX = 2000; export declare const PRIVACY_WORD_MAX = 60; export declare const PRIVACY_RULES_MAX = 50; export declare const PRIVACY_RULE_TERMS_MAX = 1000; export declare const PRIVACY_TERM_MAX = 200; export declare const PRIVACY_PATTERN_MAX = 500; export declare const PRIVACY_TITLE_MAX = 80; export declare const PrivacyNameListKindSchema: z.ZodEnum<{ ambiguous: "ambiguous"; "first-name": "first-name"; never: "never"; surname: "surname"; title: "title"; }>; export type PrivacyNameListKind = z.infer; export declare const PrivacyNameMatchingSchema: z.ZodEnum<{ "as-written": "as-written"; inflected: "inflected"; }>; export type PrivacyNameMatching = z.infer; export declare const PrivacyOwnNameListSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; kind: z.ZodEnum<{ ambiguous: "ambiguous"; "first-name": "first-name"; never: "never"; surname: "surname"; title: "title"; }>; matching: z.ZodDefault>; words: z.ZodDefault>; on: z.ZodDefault; }, z.core.$strip>; export type PrivacyOwnNameList = z.infer; export declare const PrivacyDictionaryPolicySchema: z.ZodObject<{ off: z.ZodDefault>; lists: z.ZodDefault; matching: z.ZodDefault>; words: z.ZodDefault>; on: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; export type PrivacyDictionaryPolicy = z.infer; export declare const PrivacyRuleMatchSchema: z.ZodEnum<{ pattern: "pattern"; terms: "terms"; }>; export type PrivacyRuleMatch = z.infer; export declare const PrivacyRuleSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; on: z.ZodDefault; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; match: z.ZodEnum<{ pattern: "pattern"; terms: "terms"; }>; terms: z.ZodDefault>; pattern: z.ZodDefault; matchCase: z.ZodDefault; }, z.core.$strip>; export type PrivacyRule = z.infer; export type PrivacyPatternProblem = "invalid" | "tooLong" | "empty" | "nested"; export declare const patternProblem: (source: string) => PrivacyPatternProblem | undefined; export declare const PrivacyConversationTrustSchema: z.ZodObject<{ conversationId: z.ZodString; provider: z.ZodString; }, z.core.$strip>; export type PrivacyConversationTrust = z.infer; export declare const PrivacyShieldPolicySchema: z.ZodObject<{ mode: z.ZodDefault>; trusted: z.ZodDefault>; classes: z.ZodDefault>>; images: z.ZodDefault>; names: z.ZodDefault>; allow: z.ZodDefault>; conversations: z.ZodDefault>>; dictionary: z.ZodDefault>; lists: z.ZodDefault; matching: z.ZodDefault>; words: z.ZodDefault>; on: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>>; rules: z.ZodDefault; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; match: z.ZodEnum<{ pattern: "pattern"; terms: "terms"; }>; terms: z.ZodDefault>; pattern: z.ZodDefault; matchCase: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; export type PrivacyShieldPolicy = z.infer; export declare const trustedInConversation: (policy: Pick, provider: string, conversationId: string | undefined) => boolean; export declare const withConversationTrust: (policy: PrivacyShieldPolicy, conversationId: string, provider: string, on: boolean) => PrivacyShieldPolicy; export declare const DEFAULT_PRIVACY_SHIELD: PrivacyShieldPolicy; export declare const PrivacyProviderSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; shieldable: z.ZodBoolean; local: z.ZodBoolean; }, z.core.$strip>; export type PrivacyProvider = z.infer; export declare const PrivacyShieldStatusSchema: z.ZodObject<{ policy: z.ZodObject<{ mode: z.ZodDefault>; trusted: z.ZodDefault>; classes: z.ZodDefault>>; images: z.ZodDefault>; names: z.ZodDefault>; allow: z.ZodDefault>; conversations: z.ZodDefault>>; dictionary: z.ZodDefault>; lists: z.ZodDefault; matching: z.ZodDefault>; words: z.ZodDefault>; on: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>>; rules: z.ZodDefault; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; match: z.ZodEnum<{ pattern: "pattern"; terms: "terms"; }>; terms: z.ZodDefault>; pattern: z.ZodDefault; matchCase: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; known: z.ZodNumber; tokens: z.ZodNumber; readers: z.ZodObject<{ ocr: z.ZodBoolean; model: z.ZodBoolean; }, z.core.$strip>; providers: z.ZodArray>; }, z.core.$strip>; export type PrivacyShieldStatus = z.infer; export declare const PrivacyLedgerActionSchema: z.ZodEnum<{ masked: "masked"; passed: "passed"; refused: "refused"; watched: "watched"; }>; export type PrivacyLedgerAction = z.infer; export declare const PRIVACY_REPLACEMENTS_MAX = 12; export declare const PRIVACY_EXCERPT_REACH = 48; export declare const PrivacyReplacementSchema: z.ZodObject<{ token: z.ZodString; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; excerpt: z.ZodString; image: z.ZodOptional; imageId: z.ZodOptional; }, z.core.$strip>; export type PrivacyReplacement = z.infer; export declare const PrivacyLedgerEntrySchema: z.ZodObject<{ at: z.ZodString; conversationId: z.ZodOptional; provider: z.ZodString; trusted: z.ZodBoolean; action: z.ZodEnum<{ masked: "masked"; passed: "passed"; refused: "refused"; watched: "watched"; }>; counts: z.ZodRecord & z.core.$partial, z.ZodNumber>; images: z.ZodNumber; documents: z.ZodNumber; protocol: z.ZodString; detail: z.ZodOptional; replacements: z.ZodOptional; excerpt: z.ZodString; image: z.ZodOptional; imageId: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type PrivacyLedgerEntry = z.infer; export declare const PRIVACY_IMAGE_ID: RegExp; export declare const PrivacyImageSchema: z.ZodObject<{ mediaType: z.ZodString; data: z.ZodString; }, z.core.$strip>; export declare const PrivacyImagePairSchema: z.ZodObject<{ at: z.ZodString; before: z.ZodObject<{ mediaType: z.ZodString; data: z.ZodString; }, z.core.$strip>; after: z.ZodObject<{ mediaType: z.ZodString; data: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type PrivacyImagePair = z.infer; export declare const PRIVACY_REVEAL_MAX = 100; export declare const PrivacyRevealSchema: z.ZodObject<{ tokens: z.ZodArray; }, z.core.$strip>; export declare const PRIVACY_KNOWN_BATCH_MAX = 50000; export declare const PrivacyKnownValueSchema: z.ZodObject<{ value: z.ZodString; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; }, z.core.$strip>; export type PrivacyKnownValue = z.infer; export declare const PrivacyKnownSourceSchema: z.ZodObject<{ source: z.ZodString; count: z.ZodNumber; at: z.ZodString; }, z.core.$strip>; export type PrivacyKnownSource = z.infer; export declare const PrivacyNameListSchema: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<{ ambiguous: "ambiguous"; "first-name": "first-name"; never: "never"; surname: "surname"; title: "title"; }>; languages: z.ZodArray>; count: z.ZodNumber; matching: z.ZodEnum<{ "as-written": "as-written"; inflected: "inflected"; }>; source: z.ZodString; url: z.ZodOptional; license: z.ZodOptional; on: z.ZodBoolean; own: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>; export type PrivacyNameList = z.infer; export declare const PrivacyNameWordSchema: z.ZodObject<{ word: z.ZodString; firstName: z.ZodBoolean; surname: z.ZodBoolean; surnameForm: z.ZodBoolean; ambiguous: z.ZodBoolean; never: z.ZodBoolean; }, z.core.$strip>; export type PrivacyNameWord = z.infer; export declare const PrivacyNameLookupSchema: z.ZodObject<{ text: z.ZodString; found: z.ZodBoolean; words: z.ZodArray>; }, z.core.$strip>; export type PrivacyNameLookup = z.infer; export declare const PRIVACY_DICTIONARY_SAMPLE_MAX = 200; export declare const PrivacyDictionarySchema: z.ZodObject<{ lists: z.ZodArray; languages: z.ZodArray>; count: z.ZodNumber; matching: z.ZodEnum<{ "as-written": "as-written"; inflected: "inflected"; }>; source: z.ZodString; url: z.ZodOptional; license: z.ZodOptional; on: z.ZodBoolean; own: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>>; totals: z.ZodObject<{ firstNames: z.ZodNumber; surnames: z.ZodNumber; }, z.core.$strip>; matches: z.ZodArray; }, z.core.$strip>>; lookup: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type PrivacyDictionary = z.infer; export declare const PRIVACY_PREVIEW_MAX = 4000; export declare const PrivacyPreviewSpanSchema: z.ZodObject<{ start: z.ZodNumber; end: z.ZodNumber; class: z.ZodEnum<{ address: "address"; "bank-account": "bank-account"; email: "email"; "identity-document": "identity-document"; "national-id": "national-id"; "payment-card": "payment-card"; "person-name": "person-name"; phone: "phone"; "tax-id": "tax-id"; }>; by: z.ZodEnum<{ detector: "detector"; learned: "learned"; model: "model"; rule: "rule"; }>; rule: z.ZodOptional; }, z.core.$strip>; export type PrivacyPreviewSpan = z.infer; export declare const PrivacyPreviewSchema: z.ZodObject<{ spans: z.ZodArray; by: z.ZodEnum<{ detector: "detector"; learned: "learned"; model: "model"; rule: "rule"; }>; rule: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PrivacyPreview = z.infer; //# sourceMappingURL=privacy.d.ts.map