import { BaseProps, Styles } from '../../../tasty';
import { ModalProps, WithCloseBehavior } from './types';
export declare const OVERLAY_WRAPPER_STYLES: Styles;
export interface CubeModalProps extends Omit<ModalProps, 'container' | 'type' | 'nodeRef'>, WithCloseBehavior {
    container?: HTMLElement;
    qa?: BaseProps['qa'];
    onClose?: (action?: string) => void;
    type?: 'modal' | 'fullscreen' | 'fullscreenTakeover' | 'panel';
    styles?: Styles;
    shouldCloseOnInteractOutside?: (element: Element) => boolean;
}
declare let _Modal: import("react").ForwardRefExoticComponent<Omit<CubeModalProps, "ref"> & import("react").RefAttributes<unknown>>;
export { _Modal as Modal };
