import { DialogSize } from './Dialog';
export declare const DEFAULT_PREFIX = "EVENT_FRAME_DIALOG";
export declare const OPEN_DIALOG_EVENT = "_OPEN_DIALOG";
export declare const CLOSE_DIALOG_EVENT = "_CLOSE_DIALOG";
export type DialogOptions = {
    bsSize?: DialogSize;
    showXsDialogBorders?: boolean;
};
export type OPEN_DIALOG_EVENT_TYPE = {
    src: string;
    dialogProps?: DialogOptions;
};
export type FrameDialogProps = {
    /**
     * A prefix for all event types.
     *
     * @default 'EVENT_FRAME_DIALOG'
     */
    eventPrefix?: string;
    /**
     * A function to retrieve the iframe DOM element so a message can be sent to it. This is required
     * when sending messages back to the origin widget iframe that triggered the dialog in the first place.
     */
    getSourceFrame?: () => HTMLIFrameElement | null;
    /**
     * Additional classes for the modal element.
     */
    className?: string;
};
declare const FrameDialog: (props: FrameDialogProps) => import("react/jsx-runtime").JSX.Element;
export default FrameDialog;
