import { OnApplicationShutdown } from '@nestjs/common'; import { ConfigService } from '../../config/services/config.service'; export interface MdnsServiceInfo { name: string; type: string; port: number; hostname: string; txt: Record; } export declare class MdnsService implements OnApplicationShutdown { private readonly configService; private readonly logger; private bonjour; private service; private isAdvertising; private advertisedPort; constructor(configService: ConfigService); private getConfig; getServiceName(): string; getServiceType(): string; private getVersion; advertise(port: number): void; stopAdvertising(): Promise; getServiceInfo(): MdnsServiceInfo | null; isCurrentlyAdvertising(): boolean; onApplicationShutdown(signal?: string): Promise; }