import type { AutodiscoverConfig } from '../types';
import { ITransport, GetServerInfoFn } from './types';
import { type AnnounceSigner } from './sign';
export type { AnnounceSigner } from './sign';
export declare class UdpTransport implements ITransport {
    name: string;
    private receiver;
    private senders;
    private announcementTimer;
    private config;
    private getServerInfo;
    private port;
    private signer;
    constructor(config: AutodiscoverConfig['udp'], getServerInfo: GetServerInfoFn, signer: AnnounceSigner | null);
    start(): Promise<void>;
    stop(): Promise<void>;
    private bindReceiver;
    private createSenders;
    private handleMessage;
    private sendAnnouncement;
    private sendResponse;
}
