import * as React from 'react';
import { TokenListItem } from '../../../utils/react-coinghecko/index.js';
import { UserToken } from './types.js';
import '../../../database/DBAdapterBase.js';
import '@tanstack/react-query';

declare const useTokenManagmentUIState: (tokenList: TokenListItem[] | undefined) => {
    tokenInfoModalCGID: string;
    setTokenInfoModalCGID: React.Dispatch<React.SetStateAction<string>>;
    cgToken: string;
    setCgToken: React.Dispatch<React.SetStateAction<string>>;
    newToken: UserToken;
    setNewToken: React.Dispatch<React.SetStateAction<UserToken>>;
    isModalOpen: boolean;
    autocompleteOptions: TokenListItem[];
    showAutocomplete: boolean;
    platforms: {
        [key: string]: string;
    };
    selectedPlatform: string;
    contextMenuOpen: string | null;
    toggleModal: () => void;
    handleAutocompleteChange: (value: string) => void;
    handleAutocompleteSelect: (token: TokenListItem) => void;
    handlePlatformChange: (chainName: string) => void;
    toggleContextMenu: (address: string) => void;
    setIsEditingExistingToken: React.Dispatch<React.SetStateAction<boolean>>;
    isEditingExistingToken: boolean;
};

export { useTokenManagmentUIState };
