import type { OneSdkContext } from '../../sdk/types/oneSDK'; import type { StepMachine } from '../steps/stepMachine'; import type { JourneyResult } from '../types/contract'; import type { JourneyResultConfig, JourneyTerminalState } from '../types/resultConfig'; /** spec §7 — outcome to screen. undefined means "render nothing". */ export declare const screenStateFor: (result: JourneyResult) => JourneyTerminalState | undefined; type ResultScreenDeps = { oneSdk: OneSdkContext; config: { container: HTMLElement; logo?: string; withResult?: boolean; result?: JourneyResultConfig; }; machine: StepMachine; }; export declare const mkResultScreen: (deps: ResultScreenDeps) => { present: (result: JourneyResult) => Promise; }; export {}; //# sourceMappingURL=resultScreen.d.ts.map