import React from 'react'; export interface Action { type: 'add' | 'remove'; payload: Partial; } export interface Payload { id: string; portal: React.ReactPortal; } export declare function connect(id: string, portal: React.ReactPortal): void; export declare function disconnect(id: string): void; export declare function isActive(): boolean; export declare function getProvider(): React.FC<{}>;