import React__default from 'react';
import { UserToken } from '../types.js';

type TokenModalProps = {
    isEditing: boolean;
    isOpen: boolean;
    toggleModal: () => void;
    tokenInfo: any;
    cgToken: string;
    setCgToken: (value: string) => void;
    autocompleteOptions: any[];
    showAutocomplete: boolean;
    handleAutocompleteChange: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
    handleAutocompleteSelect: (token: any) => void;
    platforms: {
        [key: string]: string;
    };
    selectedPlatform: string;
    handlePlatformChange: (e: React__default.ChangeEvent<HTMLSelectElement>) => void;
    newToken: UserToken;
    setNewToken: (token: UserToken) => void;
    handleAddToken: () => void;
    handleUpdateToken: () => void;
};
declare const TokenModal: React__default.FC<TokenModalProps>;

export = TokenModal;
