import { TypedEventEmitter } from 'main-event'; import type { GatewayFinder, GatewayFinderEvents } from './upnp-nat.ts'; import type { UPnPNAT } from '@achingbrain/nat-port-mapper'; import type { ComponentLogger } from '@libp2p/interface'; export interface StaticGatewayFinderComponents { logger: ComponentLogger; } export interface StaticGatewayFinderInit { portMappingClient: UPnPNAT; gateways: string[]; } export declare class StaticGatewayFinder extends TypedEventEmitter implements GatewayFinder { private readonly log; private readonly gatewayUrls; private readonly gateways; private readonly portMappingClient; private started; constructor(components: StaticGatewayFinderComponents, init: StaticGatewayFinderInit); start(): Promise; afterStart(): Promise; stop(): Promise; } //# sourceMappingURL=static-gateway-finder.d.ts.map