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