import type { Address } from '@znet/magento';
/**
 * Masking applied to order/customer data unless the caller holds `orders:pii`.
 * Keeps enough to recognise a customer in conversation without exposing contact details.
 */
export declare function maskEmail(email: string | null | undefined): string | null;
export declare function maskName(first?: string | null, last?: string | null): string | null;
export declare function maskPhone(phone?: string | null): string | null;
/** UK postcodes keep the outward code (district); others keep the first two characters. */
export declare function maskPostcode(pc?: string | null): string | null;
export declare function presentAddress(a: Address | undefined, pii: boolean): {
    name: string | null;
    company: string | null;
    street: string[];
    city: string | null;
    region: string | null;
    postcode: string | null;
    country: string | null;
    telephone: string | null;
    email: string | null;
} | {
    name: string | null;
    city: string | null;
    region: string | null;
    postcode: string | null;
    country: string | null;
    telephone: string | null;
    company?: undefined;
    street?: undefined;
    email?: undefined;
} | null;
/** Redact likely-PII argument values before they go into the audit log. */
export declare function redactArgs(args: Record<string, unknown>): Record<string, unknown>;
//# sourceMappingURL=pii.d.ts.map