import { type PropsWithChildren } from 'react'; /** * The `KeepMounted` component uses the `KeepMountedContext` to render the children into * a portal in order to avoid unmounting in-between renders. * Since the portal itself does not change and is only appended to the div rendered in the * `KeepMounted` component, even though the parent component may change, the children stay mounted. * The `KeepMounted` component has to be rendered all the time for this to work (e.g. when conditionally * rendering a component, if the component itself is not rendered, the `KeepMounted` component still * has to be rendered). * @internal */ export declare const KeepMounted: (props: PropsWithChildren<{ id: string; }>) => import("react/jsx-runtime.js").JSX.Element;