//#region src/portals/usePortals/usePortals.d.ts /** * Reads the portal descriptor installed by {@link installPortals}. * * @typeParam T - Expected portal descriptor shape. * * @returns The current portals context cast to `T`. * * @example * ```tsx * type AppPortals = { * modal: PortalFunction; * }; * * const portals = usePortals(); * const entryId = portals.modal().open(); * ``` */ declare function usePortals(): T; //#endregion export { usePortals }; //# sourceMappingURL=usePortals.d.ts.map