/** * Static emitter matrix for shipped analytics journeys (plan P0.3). * CI drift tests ensure every `eventName` is in the v1 catalog and that * required FE cells map to known orchestration surfaces. */ import { type AnalyticsEventName } from './analyticsEvents.js'; export type AnalyticsEmitterSurface = 'kiosk' | 'customer' | 'server'; export type AnalyticsEmitterLayer = 'FE' | 'BE'; export interface AnalyticsEmitterManifestCell { readonly eventName: AnalyticsEventName; readonly surface: AnalyticsEmitterSurface; readonly layer: AnalyticsEmitterLayer; readonly required: boolean; /** Allowlisted path fragment or server use-case name. */ readonly reference: string; } /** Shipped journeys only — kiosk retail/donation, customer shop/checkout, server payment/session. */ export declare const ANALYTICS_EMITTER_MANIFEST: readonly AnalyticsEmitterManifestCell[]; /** * Phase 4 already-live slice (grep-verified emit paths; G-H-13). * `retail_pickup_slot_missed` included only when * `CancelOrderFulfillmentOnPaymentTerminalUseCase` emits on `SLOT_MISSED`. */ export declare const ANALYTICS_ALREADY_LIVE_EVENT_NAMES: readonly ["tenant_switched", "slug_legacy_redirect", "recurring_payment_missed", "retail_pickup_slot_missed"]; export type AnalyticsAlreadyLiveEventName = (typeof ANALYTICS_ALREADY_LIVE_EVENT_NAMES)[number]; export declare function requiredManifestCellsForEvent(eventName: AnalyticsAlreadyLiveEventName): readonly AnalyticsEmitterManifestCell[]; /** Repo-relative paths for CI grep wiring tests (G3). */ export declare const ANALYTICS_EMITTER_FE_REFERENCE_PATHS: Readonly>; /** Repo-relative paths for server-layer CI grep wiring (G-P1-09 / AN-036). */ export declare const ANALYTICS_EMITTER_BE_REFERENCE_PATHS: Readonly>; export declare function validateAnalyticsEmitterManifest(): string[]; //# sourceMappingURL=analyticsEmitterManifest.d.ts.map