import React, { DialogHTMLAttributes } from 'react';
interface NativeDialogProps extends Omit<DialogHTMLAttributes<HTMLElement>, 'children'> {
    children: React.ReactNode;
    /**
     * Function called to close dialog.
     */
    exit: (...args: any[]) => any;
    /**
     * Determines which native dialog method is called to open the dialog. If the dialog
     * is opened with `showModal`, focus will be trapped inside the dialog, and it will
     * need to be closed before the rest of the page can be interacted with. See the
     * [`showModal` MDN documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal)
     * for more details.
     */
    showModal?: boolean;
}
declare const NativeDialog: ({ children, exit, showModal, ...dialogProps }: NativeDialogProps) => JSX.Element;
export default NativeDialog;
