import { ReactNode } from 'react';
import { WithCloseBehavior } from '../Modal';
export interface CubeDialogContainerProps extends WithCloseBehavior {
    /** The Dialog to display, if any. */
    children?: ReactNode;
    /** Handler that is called when the 'x' button of a dismissible Dialog is clicked. */
    onDismiss?: (arg?: any) => void;
    /**
     * The type of Dialog that should be rendered. See the visual options below for examples of each.
     * @default 'modal'
     */
    type?: 'modal' | 'fullscreen' | 'fullscreenTakeover' | 'panel';
    /** Whether the Dialog is dismissible. See the [Dialog docs](Dialog.html#dismissable-dialogs) for more details. */
    isDismissable?: boolean;
    /**
     * This prop allows you to configure whenever the modal is open or not
     */
    isOpen?: boolean;
    /** Whether pressing the escape key to close the dialog should be disabled. */
    isKeyboardDismissDisabled?: boolean;
}
/**
 * A DialogContainer accepts a single Dialog as a child, and manages to show and hide
 * it in a modal.
 * Useful in cases where there is no trigger element
 * or when the trigger unmounts while the dialog is open.
 */
export declare function DialogContainer(props: CubeDialogContainerProps): import("react/jsx-runtime").JSX.Element;
