import type { BannerMessage } from '@pega/cosmos-react-core'; import type MultiStepFormProps from '@pega/cosmos-react-core/lib/components/MultiStepForm/MultiStepForm.types'; export interface MultiStepFormDemoProps { heading?: MultiStepFormProps['heading']; stepIndicator?: MultiStepFormProps['stepIndicator']; } export type ReducerAction = { type: 'restart' | 'cancel' | 'finish' | 'submitCurrentStep'; } | { type: 'setStep'; payload: number; } | { type: 'setFieldValue'; payload: { name: string; label: string; value: string | boolean | undefined; }; }; export interface DemoMultiStepState { formData: DemoFormDataType; formErrors: DemoFormErrorsType; currentStepIndex: number; numSteps: number; cancelled: boolean; finished: boolean; } interface DemoFormDataType { [key: string]: string | boolean | undefined; firstName?: string; lastName?: string; currentTitle?: string; currentCompany?: string; salaryRequested?: string; experienceLevel?: string; priorityOne?: string; priorityTwo?: string; priorityThree?: string; interviewNotes?: string; additionalInterview?: boolean; nextInterviewer?: string; salaryRequestReview?: string; cultureFit?: string; finalRecommendation?: string; recommendationComments?: string; } interface DemoFormErrorsType { [field: string]: BannerMessage; } interface MockFormArgs { formData: DemoFormDataType; formErrors: DemoFormErrorsType; dispatch: (value: ReducerAction) => void; } interface FieldData { name: string; label: string; } export declare const stepFields: FieldData[][]; export declare const initialState: DemoMultiStepState; export declare const reducer: (state: DemoMultiStepState, action: ReducerAction) => DemoMultiStepState; export declare const ApplicantDetailsFields: ({ formData, formErrors, dispatch }: MockFormArgs) => import("react/jsx-runtime").JSX.Element; export declare const InterviewNotesFields: ({ formData, formErrors, dispatch }: MockFormArgs) => import("react/jsx-runtime").JSX.Element; export declare const NextInterviewFields: ({ formData, formErrors, dispatch }: MockFormArgs) => import("react/jsx-runtime").JSX.Element; export declare const RecommendationsFields: ({ formData, formErrors, dispatch }: MockFormArgs) => import("react/jsx-runtime").JSX.Element; export declare const MultiStepModal: (args: MultiStepFormDemoProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=MultiStepForm.mocks.d.ts.map