import { ClientTaxDocumentation } from '@taxbit/utilities'; import { QuestionnaireStepContextValue } from 'contexts'; import { default as React } from 'react'; import { QuestionnaireProp } from '../types'; import { InputStep } from '../types/InputStep'; export type WrapperProps = React.PropsWithChildren<{ /** * Initial data for the questionnaire. */ initialData?: ClientTaxDocumentation; /** * The type of questionnaire to render. Defaults to 'W-FORM'. */ questionnaire?: QuestionnaireProp; /** * Overrides for the context value of the `QuestionnaireStepProvider`. When provided, these * overrides will be combined with the real output of a `useQuestionnaireStep` hook to produce * a complete context value. When not provided, an actual provider with complete stateful data * will be rendered. */ contextValue?: Partial; /** * Override the initial step. Tests that exercise legacy showField/hideField * mechanics need this to target a step without registered descriptors. */ step?: InputStep; }>; /** * A test wrapper for unit testing questionnaire components. */ export declare const Wrapper: React.FC;