import type { FunnelFlowApiAdapter } from '../runtime/use-funnel-flow-controller.js'; export type FunnelContractJourneyEnvelope = { eventType: string; eventId: string; userId?: string; environment?: 'test' | 'live'; occurredAt?: string; stepId?: string; stepName?: string; stepType?: string; startedAt?: string; endedAt?: string; stepContractVersion?: number; selected?: Record; metadata?: Record; featureFlags?: Record; }; export type FunnelContractJourneyResult = { envelopes: FunnelContractJourneyEnvelope[]; emailCaptureCalls: Array<{ userId: string; email: string; environment: 'test' | 'live'; }>; browserEmailEvents: Array<{ eventId: string; stepId: string; stepName: string; stepType: string; }>; visitedStepIds: string[]; }; export declare const runFunnelContractJourney: (options: { captureEmail: FunnelFlowApiAdapter["captureEmail"]; }) => Promise;