import { ApiClient } from "./requests"; import { ExternalProvider, JsonRpcFetchFunc, ProviderOptions, ApiGetTransactionResponse } from "./types"; import { DebugLogger } from "./gnosisSafeProvider/types"; export declare class BaseProvider { apiClient: ApiClient; readonly provider: ExternalProvider; readonly jsonRpcFetchFunc: JsonRpcFetchFunc; readonly chainId: number; readonly debugLogger?: DebugLogger; constructor(provider: ExternalProvider, apiOptions: ProviderOptions, chainId: number, debugLogger?: DebugLogger); static fromJsonRpcProvider(jsonRpcProvider: { send: (method: string, params: Array) => Promise; }, apiOptions: ProviderOptions, chainId: number): BaseProvider; request(request: { method: string; params?: Array; }): Promise; getAccount(): Promise; getTransaction(sidOrHash: string): Promise; acknowledgeTransaction(sidOrHash: string, acknowledge?: boolean): Promise; getRelayers(): Promise; }