import * as React from "react";
import * as PropTypes from "prop-types";
import { SimpleFunction, IProviderUserOptions, ThemeColors } from "../helpers";
declare global {
    interface Window {
        ethereum: any;
        BinanceChain: any;
        web3: any;
        celo: any;
        updateWeb3Modal: any;
        wanchain?: any;
        wan3?: any;
        injectWeb3?: any;
        clover?: any;
        xdc?: any;
        okexchain?: any;
    }
}
interface IModalProps {
    themeColors: ThemeColors;
    userOptions: IProviderUserOptions[];
    onClose: SimpleFunction;
    resetState: SimpleFunction;
    lightboxOpacity: number;
    title?: string | undefined;
}
interface IModalState {
    show: boolean;
    lightboxOffset: number;
}
export declare class Modal extends React.Component<IModalProps, IModalState> {
    constructor(props: IModalProps);
    static propTypes: {
        userOptions: PropTypes.Validator<object>;
        onClose: PropTypes.Validator<(...args: any[]) => any>;
        resetState: PropTypes.Validator<(...args: any[]) => any>;
        lightboxOpacity: PropTypes.Validator<number>;
    };
    lightboxRef?: HTMLDivElement | null;
    mainModalCard?: HTMLDivElement | null;
    state: IModalState;
    componentDidUpdate(prevProps: IModalProps, prevState: IModalState): void;
    render: () => JSX.Element;
}
export {};
//# sourceMappingURL=Modal.d.ts.map