export interface SelectOption { value: string; label: string; } export interface TextInputField { /** Unique identifier for the field */ id: string; /** Label displayed above the input */ label: string; /** Placeholder text */ placeholder?: string; /** Optional description/helper text */ description?: string; /** Field type: 'text' for input, 'select' for dropdown */ fieldType?: "text" | "select"; /** Input type (text, email, url, etc.) - only for text fields */ type?: "text" | "email" | "url" | "tel"; /** Options for select fields */ options?: SelectOption[]; /** Whether the field is required */ required?: boolean; /** Validation pattern (regex string) */ pattern?: string; /** Error message for invalid input */ errorMessage?: string; /** Default value */ defaultValue?: string; } export interface TextInputStepProps { /** Title displayed at the top of the step */ title?: string; /** Description text below the title */ description?: string; /** Array of text input fields */ fields: TextInputField[]; /** 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 TextInputStep({ title, description, fields, onValuesChange, onSubmit, submitText, loadingText, backButton, }: TextInputStepProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=text-input-step.d.ts.map