import { type Readable } from "svelte/store"; /** * Map of field_id → previously selected option_ids. * Used to restore selection state when navigating back to a step. */ export type InitialInputSelections = Record; export interface InputValidationContext { /** True only when every registered input is satisfied. */ isSatisfied: Readable; /** Registers or updates the satisfaction of a single input, keyed by component id. */ updateSatisfaction: (id: string, satisfied: boolean) => void; /** Stops an unmounted input from gating the screen. */ removeInput: (id: string) => void; } export declare function createInputValidationContext(initiallySatisfied?: boolean): InputValidationContext; export declare function setInputValidationContext(context: InputValidationContext): void; export declare function getInputValidationContext(): InputValidationContext | undefined; export declare function setInitialInputSelectionsContext(selections: InitialInputSelections): void; export declare function getInitialInputSelectionsContext(): InitialInputSelections;