import React from 'react'; import { SrcProps } from './types'; export declare type ModalStyleFn = (styleObj: ModalStyleFnObj, state: ModalStyleFnState) => React.CSSProperties; export declare type ModalStyleFnObj = { [key: string]: any; }; export declare type ModalStyleFnState = { [key: string]: any; }; export interface LightboxProps { src: SrcProps; opened: boolean; onClose: () => void; modalStyles?: { blanket?: ModalStyleFn; dialog?: ModalStyleFn; positioner?: ModalStyleFn; }; actionsConfig?: { close?: { [key: string]: any; }; fullscreen?: { [key: string]: any; }; }; } declare function Lightbox({ src, opened, onClose, modalStyles, actionsConfig, }: LightboxProps): JSX.Element; export default Lightbox;