UNPKG

@achingbrain/nat-port-mapper

Version:
19 lines 847 B
import { InternetGatewayService } from './internet-gateway-service.js'; import type { MapPortOptions } from '../index.js'; import type { RefreshableMapping } from './internet-gateway-service.js'; import type { AbortOptions } from 'abort-error'; interface IPv6Mapping extends RefreshableMapping { remoteHost: string; externalPort: string; internalClient: string; protocol: '6' | '17'; description: string; uniqueId: number; } export declare class InternetGatewayService6 extends InternetGatewayService<IPv6Mapping> { mapPort(localPort: number, localHost: string, options?: MapPortOptions): Promise<number>; refreshPort(localPort: number, options?: AbortOptions): Promise<void>; unmap(localPort: number, options?: AbortOptions): Promise<void>; } export {}; //# sourceMappingURL=internet-gateway-service-6.d.ts.map