/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { DnsRecord, Lifetime, MdnsSocket, NetworkInterfaceDetails } from "#general";
/** RFC 6762 §7.3 - Window for duplicate question suppression (999ms per python-zeroconf) */
export declare const QUESTION_SUPPRESSION_WINDOW: import("#general").Duration;
export declare class MdnsServer {
    #private;
    constructor(socket: MdnsSocket, lifetime?: Lifetime.Owner);
    get network(): import("#general").Network;
    get supportsIpv4(): boolean;
    buildDnsRecordKey(record: DnsRecord<any>, netInterface?: string, unicastTarget?: string): string;
    broadcast(...services: string[]): Promise<void>;
    expireAnnouncements(...services: string[]): Promise<void>;
    setRecordsGenerator(service: string, generator: MdnsServer.RecordGenerator): Promise<void>;
    close(): Promise<void>;
}
export declare namespace MdnsServer {
    interface RecordGenerator {
        (intf: string, addrs: NetworkInterfaceDetails): DnsRecord[];
    }
}
//# sourceMappingURL=MdnsServer.d.ts.map