import { PortalProps } from "./types.js"; //#region src/portals/Portal/Portal.d.ts /** * Wires a {@link usePortal} handler to a portal path from the installed portal * descriptor. * * The component itself renders `null`; the child element is mounted by the * entry returned from the portal `getEntry` function when `use.open()` is * called. * * @param props - Portal target path, handler, and child element. * @returns `null`. * * @throws When `use` is not a valid tools portal handler. * * @example * ```tsx * const modal = usePortal(); * * * * * ``` */ declare function Portal(props: PortalProps): null; //#endregion export { Portal }; //# sourceMappingURL=Portal.d.ts.map