/// /** * GTM normalization primitives used by generated plays and user-authored * prospecting notebooks. * * Keep these helpers small, deterministic, and schema-shaped. They are not an * agent or a provider policy layer; they are the shared vocabulary for turning * messy GTM rows into contact/account fields that Deepline plays understand. * As provider enums and row conventions get sharper, improve them here so * bootstrapped plays get better without carrying more generated glue. * * Do not add helpers that extract values from tool/play results. Result values * should come from declared getters (`extractedValues.email.get()`) or declared * play output fields (`result.email`). Helpers in this file normalize input * rows and candidate entities, not opaque execution envelopes. */ type GtmRow = Record; type GtmContact = GtmRow & { first_name: string; last_name: string; domain: string; company_name: string; linkedin_url: string; title: string; email: string; phone: string; }; declare function normalizeGtmRows(value: unknown): GtmRow[]; declare function normalizeGtmContact(row: GtmRow): GtmContact; export { type GtmContact, type GtmRow, normalizeGtmContact, normalizeGtmRows };