import { type ReactNode } from "react"; export interface BooleanField { /** Unique identifier for the field */ id: string; /** Label/question text */ label: string; /** Optional description/helper text */ description?: string; /** Display mode: 'toggle' for checkbox, 'yesno' for Yes/No radio buttons */ mode?: "toggle" | "yesno"; /** Default value */ defaultValue?: boolean; /** Whether this field is required to be true (e.g., terms acceptance) */ requiredTrue?: boolean; /** Custom yes/no labels */ yesLabel?: string; noLabel?: string; } export interface BooleanStepProps { /** Title displayed at the top of the step */ title?: string; /** Description text below the title */ description?: string | ReactNode; /** Array of boolean fields */ fields: BooleanField[]; /** Called when any value changes */ onValuesChange?: (values: Record) => void; /** Called when the user submits the form */ onSubmit: (values: Record) => void | Promise; /** Text for the submit button */ submitText?: string; /** Text shown while submitting */ loadingText?: string; /** Optional back button config */ backButton?: { text: string; onClick: () => void; }; } export declare function BooleanStep({ title, description, fields, onValuesChange, onSubmit, submitText, loadingText, backButton, }: BooleanStepProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=boolean-step.d.ts.map