import { AxiosRequestConfig } from 'axios'; declare type Module = 'account' | 'contract' | 'stats' | 'block'; declare type AccountAction = 'balance' | 'balancemulti' | 'txlist' | 'txlistinternal' | 'tokentx' | 'getminedblocks'; declare type ContractAction = 'getabi' | 'getsourcecode'; declare type StatsAction = 'tokensupply' | 'tokenCsupply' | 'tokenbalance' | 'tokenbalancehistory' | 'bnbsupply' | 'validators'; declare type BlockAction = 'getblockreward' | 'getblockcountdown' | 'getblocknobytime'; export declare type QueryParams = { module: Module; action: AccountAction | ContractAction | StatsAction | BlockAction; address?: string; contractAddress?: string; txhash?: string; startBlock?: number; endBlock?: number; blockno?: number; page?: number; offset?: number; sort?: 'asc' | 'desc'; tag?: string; apiKey?: string; timestamp?: number; closest?: 'before' | 'after'; }; export declare type RequestConfig = { axiosConfig?: AxiosRequestConfig; rawAxiosResponse?: boolean; }; declare type Response = { status: '0' | '1'; message: string; result: T; }; declare function query(queryOptions: QueryParams, requestConfig?: RequestConfig): Promise>>; export default query; //# sourceMappingURL=query.d.ts.map