import type { Multiaddr } from '@multiformats/multiaddr';
import type { ListenOptions, IpcSocketConnectOpts, TcpSocketConnectOpts } from 'net';
export type NetConfig = ListenOptions | (IpcSocketConnectOpts & TcpSocketConnectOpts);
export declare function multiaddrToNetConfig(addr: Multiaddr, config?: NetConfig): NetConfig;
//# sourceMappingURL=utils.d.ts.map