/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { DnsRecord, Lifetime, MdnsSocket, NetworkInterfaceDetails } from "@matter/general"; /** RFC 6762 ยง7.3 - Window for duplicate question suppression (999ms per python-zeroconf) */ export declare const QUESTION_SUPPRESSION_WINDOW: import("@matter/general").Duration; export declare class MdnsServer { #private; constructor(socket: MdnsSocket, lifetime?: Lifetime.Owner); get network(): import("@matter/general").Network; get supportsIpv4(): boolean; buildDnsRecordKey(record: DnsRecord, netInterface?: string, unicastTarget?: string): string; broadcast(...services: string[]): Promise; expireAnnouncements(...services: string[]): Promise; setRecordsGenerator(service: string, generator: MdnsServer.RecordGenerator): Promise; close(): Promise; } export declare namespace MdnsServer { interface RecordGenerator { (intf: string, addrs: NetworkInterfaceDetails, hostname: string): DnsRecord[]; } interface InterfaceRecords { byService: Map[]>; /** Lower-cased names of records we own on this interface - used to fast-reject unrelated LAN queries. */ ownedNames: Set; } } //# sourceMappingURL=MdnsServer.d.ts.map