import { type MouseEventHandler, type ReactPortal } from 'react'; import type { LunaticError } from '../../../use-lunatic/type'; type Props = { goNext: MouseEventHandler; onClose: MouseEventHandler; isCritical?: boolean; errors: Record; }; export declare function ModalControls(props: Props): ReactPortal | null; export {};