import type { CSSProperties } from "react";
import { Component } from "react";
import type { BaseModalProps, ModalSize } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/components/Modal/utils";
export type WindowModalProps = BaseModalProps & {
    isOpen?: boolean;
    onClose?: () => void;
    fullPageModal?: boolean;
    formModal?: boolean;
    style?: CSSProperties;
    "data-testid"?: string;
    zIndex?: number;
    trapFocus?: boolean;
} & {
    [size in ModalSize]?: boolean;
};
export declare class WindowModal extends Component<WindowModalProps> {
    _modalElement: HTMLDivElement;
    static defaultProps: {
        className: any;
        enableTransition: boolean;
        trapFocus: boolean;
    };
    constructor(props: WindowModalProps);
    componentWillUnmount(): void;
    handleDismissal: () => void;
    _modalComponent(): import("react/jsx-runtime").JSX.Element;
    render(): import("react/jsx-runtime").JSX.Element;
}
