import type { ModalProps } from './Modal.types';
interface MaybeModalProps extends Partial<ModalProps> {
    inline?: boolean;
}
/**
 * Renders a modal or an inline div
 * @returns {Modal|HTMLDivElement}
 */
export declare const MaybeModal: ({ ariaLabel, children, inline, inset, onClose, showCloseButton, size, }: MaybeModalProps) => import("preact/jsx-runtime").JSX.Element;
export {};
