import * as React from 'react';
import { ModalProps } from '../Modal';
import { WindowModalProps } from '../WindowModal';
import { BoxProps } from '../Flex';
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 {
    onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
    onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
    onChange?: (event: React.FormEvent<HTMLDivElement>) => void;
    className?: string;
    children?: React.ReactNode;
    style?: React.CSSProperties;
}
export type DialogRefType = {
    bringToFront: VoidFunction;
};
export declare const Dialog: React.ForwardRefExoticComponent<DialogProps & {
    children?: React.ReactNode | undefined;
} & React.RefAttributes<DialogRefType>>;
export default Dialog;
