import type { Styleable } from "@trackunit/react-components"; import { ReactNode } from "react"; import { DefaultValues } from "react-hook-form"; import { AnyZodObject, z } from "zod"; import { StepComponentProps } from "../FormWizard/useFormWizard"; export interface TestHelperFormWizardStepProps, TFullSchema extends AnyZodObject> extends Styleable { overrides?: Partial TFullSchema, TStepKey>>; fullFormSchema: TFullSchema; stepKey: TStepKey; defaultValues?: DefaultValues>; children: (props: StepComponentProps<() => TFullSchema, TStepKey>) => ReactNode; } /** * A helper component to be used in tests to render a single step of a form wizard. * This component is not intended to be used in production code. * It is used to test the individual steps of a form wizard. */ export declare const TestHelperFormWizardStep: , TFullSchema extends AnyZodObject>({ stepKey, fullFormSchema, defaultValues, children, overrides, style, }: TestHelperFormWizardStepProps) => import("react/jsx-runtime").JSX.Element;