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