export type PortalLayer = 'alert' | 'default'; /** * Initialize portal containers. * This function can be called manually in your app's entry point, * or it will be called automatically when the first Portal is rendered. * * @param rootSelector - Optional root element or selector string. * Defaults to document.body */ export declare function initializePortals(rootSelector?: string | HTMLElement): void; export declare function getContainer(layer: PortalLayer): HTMLElement | null; export declare function getRootElement(): HTMLElement | null; /** * Reset portal system state. Only for testing purposes. * @internal */ export declare function resetPortals(): void;