import { ErrorAdapter } from '../PageForm/typesErrorAdapter';
export interface PageWizardBasicStep {
    id: string;
    idOfparentStep?: string;
    label: string;
    inputs?: React.ReactNode;
    element?: React.ReactNode;
    hidden?: (wizardData: object) => boolean;
    validate?: (formData: object, wizardData: object) => Promise<void> | void;
}
export interface PageWizardParentStep extends Omit<PageWizardBasicStep, 'inputs' | 'validate'> {
    substeps: [PageWizardBasicStep, ...PageWizardBasicStep[]];
}
export type PageWizardStep = PageWizardBasicStep | PageWizardParentStep;
export interface PageWizardBody {
    onCancel?: () => void;
    errorAdapter?: ErrorAdapter;
    disableGrid?: boolean;
    isVertical?: boolean;
    singleColumn?: boolean;
}
