import { oAddress } from '../router/o-address.js'; import { oConnection } from './o-connection.js'; import { oConnectionManagerConfig } from './interfaces/connection-manager.config.js'; import { oObject } from '../core/o-object.js'; import { oConnectionConfig } from './interfaces/connection.config.js'; export declare abstract class oConnectionManager extends oObject { readonly config: oConnectionManagerConfig; constructor(config: oConnectionManagerConfig); /** * Connect to a given address * @param address - The address to connect to * @returns The connection object */ abstract connect(config: oConnectionConfig): Promise; isCached(address: oAddress): boolean; getCachedConnection(address: oAddress): oConnection | null; } //# sourceMappingURL=o-connection-manager.d.ts.map