import { ChainType, NetworkId } from "../NetworkId"; import { RpcMetricReporter, RpcOpNormalizer } from "../rpc-telemetry"; import { CeilMedianConsensusExecutor } from "./CeilMedianConsensusExecutor"; import { MultiExecutorConfig, NestedMethodConfig } from "./config"; export declare const SINGLE_EXECUTION_TIMEOUT_MS = 7000; export declare const ALL_EXECUTIONS_TIMEOUT_MS = 30000; export declare const BLOCK_NUMBER_EXECUTION_TIMEOUT_MS = 1500; export declare abstract class ClientBuilder { protected abstract chainType: ChainType; protected urls: URL[]; protected chainId?: number; protected isQuarantineEnabled: boolean; protected telemetryOpNormalizer: RpcOpNormalizer; protected telemetryReporter?: RpcMetricReporter; static blockNumberConsensusExecutor: CeilMedianConsensusExecutor; abstract build(): C; withNetworkId(networkId: NetworkId): this; withChainId(chainId: number): this; withRpcUrl(url: URL): this; withRpcUrls(urls: URL[]): this; withQuarantineEnabled(isQuarantineEnabled?: boolean): this; withTelemetry(reporter: RpcMetricReporter): this; protected getEligibleUrls(): URL[]; protected makeMultiExecutor(creator: (url: URL) => T, methodConfig: NestedMethodConfig, config?: Partial): T; protected makeMultiExecutorForSubInstances(subject: Subject, callback: (subInstance: Subject) => Sub, methodConfig: NestedMethodConfig, config?: Partial): Sub; private makeConfig; private makeFnDelegates; } //# sourceMappingURL=ClientBuilder.d.ts.map