import { type ReactNode } from 'react'; import type { WithChildren } from '../../core/types/with-children.js'; export declare const useKeepMounted: ({ children, keepMounted, }: { children: ReactNode; keepMounted: boolean; }) => import("react/jsx-runtime").JSX.Element; /** * Provider keeping a map of the children to be rendered in a `KeepMounted` component and * the element the children should be portalled to. * @internal */ export declare const KeepMountedProvider: ({ children }: WithChildren) => import("react/jsx-runtime").JSX.Element;