import { AxiosRequestHeaders } from 'axios'; import { OrderBy as OrderBy_pb } from '@glitterprotocol/glitter.proto/cosmos/tx/v1beta1/service'; export declare type APIParams = Record; export interface Pagination { next_key: string | null; total: number; } export declare const OrderBy: typeof OrderBy_pb; export declare type OrderBy = OrderBy_pb; export interface PaginationOptions { 'pagination.limit': string; 'pagination.offset': string; 'pagination.key': string; 'pagination.count_total': 'true' | 'false'; 'pagination.reverse': 'true' | 'false'; order_by: keyof typeof OrderBy; } export declare class APIRequester { private axios; private readonly baseURL; constructor(baseURL: string); private computeEndpoint; setHeaders(headers: AxiosRequestHeaders): void; getRaw(endpoint: string, params?: URLSearchParams | APIParams): Promise; get(endpoint: string, params?: URLSearchParams | APIParams): Promise; postRaw(endpoint: string, data?: any): Promise; post(endpoint: string, data?: any, source?: string, signal?: any): Promise; postHttp(endpoint: string, data?: any, source?: string, signal?: any): Promise; }