import type { ComponentChildren } from 'preact';
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
import type { FormModelWithValidity } from '../../../types/form';
import type { SummaryProps } from '../Summary/types';
type SummaryWithoutForms = Omit<SummaryProps<object>, 'forms' | 'gotoForm'>;
export interface FormFlowProps {
    asModal?: boolean;
    children: ComponentChildren;
    currentStep?: number;
    disableBackButton?: boolean;
    disableNextButton?: boolean;
    forms: FormModelWithValidity[];
    activeForm: FormModelWithValidity;
    gotoFormByFormIndex(index: number): void;
    gotoFormByFormId(formId: string): void;
    handleBackClick?(): void;
    handleCancelClick?(): void;
    handleNextClick(): void | Promise<void>;
    nextButtonLoading?: boolean;
    loadingStatus: LoadingStatus;
    /** @deprecated use summaryComponent */
    summary?: SummaryWithoutForms;
    summaryComponent?: ComponentChildren;
    totalSteps?: number;
}
export {};
