import React from 'react';
import { FireAnalyticsCallback } from '../../plugins/analytics/fire-analytics-event';
import PortalProviderAPI from './PortalProviderApi';
export declare type PortalProviderProps = {
    render: (portalProviderAPI: PortalProviderAPI) => React.ReactChild | JSX.Element | null;
    onAnalyticsEvent?: FireAnalyticsCallback;
};
export declare type Portals = Map<HTMLElement, React.ReactChild>;
export declare type PortalRendererState = {
    portals: Portals;
};
export declare type MountedPortal = {
    children: () => React.ReactChild | null;
    hasReactContext: boolean;
};
