import React from 'react';
import { EventDispatcher } from "../../event-dispatcher/index.js";
import { FireAnalyticsCallback } from "../../plugins/analytics/fire-analytics-event.js";
import { MountedPortal } from "./types.js";
export default class PortalProviderAPI extends EventDispatcher {
    portals: Map<HTMLElement, MountedPortal>;
    context: any;
    onAnalyticsEvent?: FireAnalyticsCallback;
    constructor(onAnalyticsEvent?: FireAnalyticsCallback);
    setContext: (context: any) => void;
    render(children: () => React.ReactChild | JSX.Element | null, container: HTMLElement, hasReactContext?: boolean): void;
    forceUpdate(): void;
    remove(container: HTMLElement): void;
}
