import type { NetworkConfig } from "../../../types/config.js"; import type { ChainType, NetworkConnection } from "../../../types/network.js"; import type { EthereumProvider } from "../../../types/providers.js"; export type CloseConnectionFunction = (networkConnection: NetworkConnectionImplementation) => Promise; export declare class NetworkConnectionImplementation implements NetworkConnection { #private; readonly id: number; readonly networkName: string; readonly networkConfig: Readonly; readonly chainType: ChainTypeT; static create(id: number, networkName: string, chainType: ChainTypeT, networkConfig: NetworkConfig, closeConnection: CloseConnectionFunction, createProvider: (networkConnection: NetworkConnectionImplementation) => Promise): Promise>; private constructor(); get provider(): EthereumProvider; close(): Promise; } //# sourceMappingURL=network-connection.d.ts.map