import React from 'react'; import { UnknownProperties, Intergalactic } from 'intergalactic/core'; import { NodeByRef } from 'intergalactic/utils/lib/ref'; /** @deprecated */ export interface IPortalProps extends PortalProps, UnknownProperties { } export type PortalProps = { /** Disables children rendering in React portal */ disablePortal?: boolean; /** Disabled attaching portals to the parent portals and enabling attaching directly to document.body */ ignorePortalsStacking?: boolean; /** Called when portal mount state changes */ onMount?: (mounted: boolean) => void; }; declare const PortalProvider: React.Provider; export { PortalProvider }; declare const _default: Intergalactic.Component; export default _default;