import type { AutodiscoverConfig } from '../types';
import type { GetServerInfoFn } from './types';
import { type AnnounceSigner } from './udp';
export type { GetServerInfoFn } from './types';
export { signEnvelope, buildAnnounceSigner, type AnnounceSigner } from './sign';
/**
 * Autodiscover service that manages discovery transports.
 * Currently supports UDP announcements/responses.
 * HTTP discovery is handled by the info route.
 */
export declare class AutodiscoverService {
    private config;
    private getServerInfo;
    private signer;
    private transports;
    private started;
    constructor(config: AutodiscoverConfig, getServerInfo: GetServerInfoFn, signer: AnnounceSigner | null);
    start(): Promise<void>;
    stop(): Promise<void>;
}
