/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { ChannelType, DnssdNames, Duration } from "@matter/general";
import { CommissionableDevice, CommissionableDeviceIdentifiers, Scanner } from "../common/Scanner.js";
/**
 * Discovers commissionable and commissioner Matter devices via DNS-SD using the DnssdNames infrastructure.
 *
 * Replaces the legacy MdnsClient for commissionable device scanning.
 */
export declare class CommissionableMdnsScanner implements Scanner {
    #private;
    readonly type = ChannelType.UDP;
    constructor(names: DnssdNames);
    close(): Promise<void>;
    findCommissionableDevicesContinuously(identifier: CommissionableDeviceIdentifiers, callback: (device: CommissionableDevice) => void, timeout?: Duration, cancelSignal?: Promise<void>): Promise<CommissionableDevice[]>;
    getDiscoveredCommissionableDevices(identifier: CommissionableDeviceIdentifiers): CommissionableDevice[];
    cancelCommissionableDeviceDiscovery(identifier: CommissionableDeviceIdentifiers): void;
}
//# sourceMappingURL=CommissionableMdnsScanner.d.ts.map