import * as React from 'react';
import { BoxProps } from 'rebass';
import { ModalProps } from '../Modal';
import { WindowModalProps } from '../WindowModal';
type TypeProps = {
    modal?: boolean;
    autoFocus?: boolean;
    focusOnBrowserVisible?: boolean;
    fixed?: boolean;
    windowModal?: boolean;
    windowModalProps?: WindowModalProps;
    modalProps?: ModalProps;
    isOpen?: boolean;
    defaultIsOpen?: boolean;
    showCloseButton?: boolean;
    onDismiss?: () => void;
    dismissOnClickOutside?: boolean;
};
export interface DialogProps extends Omit<BoxProps, 'ref'>, TypeProps {
}
export type DialogRefType = {
    bringToFront: VoidFunction;
};
export declare const Dialog: React.ForwardRefExoticComponent<DialogProps & {
    children?: React.ReactNode;
} & React.RefAttributes<DialogRefType>>;
export default Dialog;
