import { Root } from 'react-dom/client'; type PortalContainer = string | HTMLElement | ShadowRoot | null | undefined; /** * Hook to manage portal creation and cleanup for React components * @param {string} portalId - Unique identifier for the portal * @param {PortalContainer} portalContainer - Portal target (selector, element, or ShadowRoot) * @returns {[Root | null, HTMLElement | null, boolean, () => void]} Tuple containing React root, portal element, ready status, and cleanup function */ export declare const usePortal: (portalId: string, portalContainer: PortalContainer) => [Root | null, HTMLElement | null, boolean, () => void]; export {}; //# sourceMappingURL=usePortal.d.ts.map