import './FormWrapper.scss';
import type { ComponentChildren } from 'preact';
import type { LoadingStatus } from '../../ui/atoms/LoaderWrapper/constants';
import type { TranslationKey } from '../../../../types';
import type { EntityProblems } from '../../../types/errors/entity-problems';
import type { FormModelWithValidity } from '../../../types/form';
import type { Omitted } from '../Summary/types';
interface FormWrapperProps {
    summary?: {
        data?: any;
        omitted?: Omitted;
        labels?: any;
    };
    children: ComponentChildren;
    taskName: TranslationKey;
    handleNextClick(): void;
    handleBackClick?(): void;
    handleCloseClick?(): void;
    gotoFormByFormIndex(index: number): void;
    handleHomeClick?(): void;
    loadingStatus: LoadingStatus;
    forms: FormModelWithValidity[];
    activeForm: FormModelWithValidity;
    validateForm(): void;
    hideSidebar?: boolean;
    hideFooter?: boolean;
    asModal?: boolean;
    problems?: EntityProblems;
    canSubmit?: boolean;
    onSubmit(): Promise<void>;
    steps: {
        current: number;
        total: number;
    };
    showBackButton?: boolean;
    hideNextButton?: boolean;
    hideHomeButton?: boolean;
}
/** @deprecated migrate to useMultiForm hook and FormFlow ui component*/
export declare const FormWrapper: ({ asModal, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, forms, activeForm, validateForm, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, hideHomeButton, }: FormWrapperProps) => import("preact/jsx-runtime").JSX.Element;
export {};
