import type { RelayEstimation } from '../../common/estimation.types'; import type { HubInfo } from '../../common/relayHub.types'; import type { EnvelopingTxRequest } from '../../common/relayTransaction.types'; import HttpWrapper from './HttpWrapper'; declare const PATHS: { readonly CHAIN_INFO: "/chain-info"; readonly POST_RELAY_REQUEST: "/relay"; readonly POST_ESTIMATE: "/estimate"; }; declare type RelayPath = (typeof PATHS)[keyof typeof PATHS]; declare type SignedTransactionDetails = { transactionHash: string; signedTx: string; error?: string; message?: string; }; export declare function buildUrl(base: string, path: string, verifier?: string): string; declare class HttpClient { private readonly _httpWrapper; constructor(httpWrapper?: HttpWrapper); get httpWrapper(): HttpWrapper; getChainInfo(relayUrl: string, verifier?: string): Promise; private _stringifyEnvelopingTx; relayTransaction(relayUrl: string, envelopingTx: EnvelopingTxRequest): Promise; estimateMaxPossibleGas(relayUrl: string, envelopingTx: EnvelopingTxRequest): Promise; } export default HttpClient; export { PATHS as RELAY_PATHS }; export type { RelayPath, SignedTransactionDetails };