import { JsonRpcProvider } from "@near-js/providers"; import { FinalExecutionOutcome } from "@near-js/types"; export declare const TGAS = 1000000000000n; export declare const rpcProviders: string[]; export declare class NearRpc extends JsonRpcProvider { private timeout; private triesCountForEveryProvider; private incrementTimout; providers: string[]; currentProviderIndex: number; startTimeout: number; constructor(providers?: string[], timeout?: number, triesCountForEveryProvider?: number, incrementTimout?: boolean); viewMethod(args: { contractId: string; methodName: string; args: any; }): Promise; sendJsonRpc(method: string, params: any, attempts?: number): Promise; send(method: string, params: any, url: string, timeout: number): Promise; hasNearAccount(accountId: string): Promise; parseReceipts: (logs: FinalExecutionOutcome) => FinalExecutionOutcome; waitTransactionResult: (txHash: string, accountId: string, attemps?: number, signal?: AbortSignal, total?: number) => Promise; } export declare const rpc: NearRpc;