import React from 'react'; import { GlobalContextParams } from '../context-provider'; export interface OpenBaseProps { onClose?: () => void; close: (e: any) => void; openIndex: number; images: any[]; getContainer?: () => HTMLElement; } export declare function open

(Component: React.FunctionComponent

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