/** * Google-specific normalization for Enhanced Conversions. * * Follows the rules documented in * https://support.google.com/google-ads/answer/13262500 — phone numbers must be * in E.164 format, emails lowercased with provider-specific dot stripping on * gmail/googlemail, and names/addresses normalized to lowercase without * leading/trailing whitespace. */ export declare function normalizeEmail(raw: string | null | undefined): string | null; /** * Normalize a phone number to E.164. If the input has no leading '+' we * cannot reliably infer the country code, so we return null rather than * send an unhashable/ambiguous value — Enhanced Conversions treats missing * fields as acceptable. */ export declare function normalizePhone(raw: string | null | undefined): string | null; export declare function normalizeBasic(raw: string | null | undefined): string | null; /** Postal codes: collapse whitespace, uppercase (some ISO formats are alpha). */ export declare function normalizePostalCode(raw: string | null | undefined): string | null; /** * Read a nested path from an object using dot notation. Used by the * event-bridge to extract `value`/`currency`/`transaction_id` from the * captured event payload based on the admin-configured path. */ export declare function getByPath(source: unknown, path: string | null | undefined): unknown; export declare function coerceNumber(value: unknown): number | undefined; export declare function coerceString(value: unknown): string | undefined;