import { type ModalProps } from "@mantine/core";
export type Modal2Ref = {
    open: () => void;
    close: () => void;
};
export type Modal2Props = Omit<ModalProps, "opened" | "onClose"> & {
    opened?: boolean;
    onClose?: () => void;
};
export declare const Modal2: import("react").ForwardRefExoticComponent<Omit<ModalProps, "onClose" | "opened"> & {
    opened?: boolean;
    onClose?: () => void;
} & import("react").RefAttributes<Modal2Ref>>;
export declare const ModalTitle: ({ path, onClose }: {
    path: string[];
    onClose: () => void;
}) => import("react/jsx-runtime").JSX.Element;
export declare const ModalBody: ({ children, className }: {
    children?: any;
    className?: string;
}) => import("react/jsx-runtime").JSX.Element;
export declare const ModalFooter: ({ next, prev, nextLabel, prevLabel, debug, }: {
    next: any;
    prev: any;
    nextLabel?: string;
    prevLabel?: string;
    debug?: any;
}) => import("react/jsx-runtime").JSX.Element;
