/// <reference types="react" />
/**
 * Provide a clickable scrim to document.body and hold the children.
 * Currently only a utility for `<Dialog>` component
 */
export declare function ModalHolder({ open, children, onScrimClick, teleportTo, zIndex, }: {
    open?: boolean;
    /**
     * Children must has `position: fixed`
     */
    children?: React.ReactNode;
    onScrimClick?: () => void;
    /**
     * @default document.body
     */
    teleportTo?: Element | DocumentFragment;
    zIndex?: number;
}): import("react/jsx-runtime").JSX.Element;
