import type * as nt from 'nekoton-wasm';
import { GqlSocketParams } from 'everscale-standalone-client';
import { IEverscaleMessage } from './types';
export declare class GqlSender implements nt.IGqlSender {
    private readonly params;
    private readonly latencyDetectionInterval;
    private readonly endpoints;
    private nextLatencyDetectionTime;
    private currentEndpoint?;
    private resolutionPromise?;
    constructor(params: GqlSocketParams);
    isLocal(): boolean;
    send(data: string): Promise<any>;
    private _selectQueryingEndpoint;
    query(query: string, variables?: Record<string, any>): Promise<any>;
    queryContractMessages(dst: string, contractAddress: string, limit?: number): Promise<IEverscaleMessage[]>;
    queryMessage(query: string, variables?: Record<string, any>): Promise<IEverscaleMessage | null>;
    queryMessages(query: string, variables?: Record<string, any>): Promise<IEverscaleMessage[]>;
}
