import React from "react"; import { Props as ButtonProps } from "../inputs/Button"; export declare type Action = Omit, "as"> & Omit & { confirmation?: boolean; onClick: () => void | boolean | Promise; }; export interface Props { padding?: string; maxWidth?: string; maxHeight?: string; disabled?: boolean; transparent?: boolean; nonDismissable?: boolean; actions?: Action[]; onClose?: (force: boolean) => void; signal?: "close" | "confirm" | "force"; registerOnClose?: (fn: () => void) => () => void; registerOnConfirm?: (fn: () => void) => () => void; title?: React.ReactNode; description?: React.ReactNode; children?: React.ReactNode; } export declare function Modal({ children, actions, disabled, onClose, title, description, nonDismissable, registerOnClose, registerOnConfirm, signal, ...props }: Props): React.ReactPortal;