//#region src/redact.d.ts
interface UserPII {
  id: string;
  email?: string | null;
  phone?: string | null;
}
interface VendorPII {
  id: string;
  ownerEmail?: string | null;
  ownerPhone?: string | null;
}
interface RedactionMap {
  /** Raw PII string → "{user_a}" pseudo-id */
  forward: Map<string, string>;
  /** "{user_a}" → raw PII string (for substituting back into AI output) */
  reverse: Map<string, string>;
}
declare function buildRedactionMap(users: Map<string, UserPII>, vendors: Map<string, VendorPII>): RedactionMap;
declare function redactForPrompt(text: string, map: RedactionMap): string;
declare function substitutePseudoIds(text: string, map: RedactionMap): string;
//#endregion
export { RedactionMap, UserPII, VendorPII, buildRedactionMap, redactForPrompt, substitutePseudoIds };