import React from 'react'; import { GlobalContextParams } from '../context-provider'; export interface OpenBaseProps { unmountOnExit?: boolean; getContainer?: () => HTMLElement; onClose?: (scene?: string) => void; visible: boolean; close: (e: any) => void; } export declare function getOpenMethod(Component: React.FunctionComponent

, containerId?: string, normalize?: (config: T) => P): (config: T, context?: GlobalContextParams | undefined) => { close: () => void; update: (newConfig: T) => void; }; export declare function open

(Component: React.FunctionComponent

, containerId?: string): (config: Pick> & { key?: string | undefined; }, context?: GlobalContextParams | undefined) => { close: () => void; update: (newConfig: Pick> & { key?: string | undefined; }) => void; };