import type { ACPAgentConfig } from './types.js';
export interface DiscoveryResult {
    baseUrl: string;
    agents: ACPAgentConfig[];
}
/**
 * Fetch and parse `<baseUrl>/.well-known/acp`. Trailing slashes are
 * trimmed. Returns the discovery result on success; throws on network
 * error, non-2xx status, or invalid JSON. Individual malformed agent
 * entries are skipped silently with a warn log.
 */
export declare function discoverAgents(baseUrl: string): Promise<DiscoveryResult>;
/**
 * Discover from multiple base URLs in parallel. Failures on individual
 * URLs are logged but don't fail the batch — partial results are
 * returned. Useful for `discoveryUrls` config or REST API fan-out.
 */
export declare function discoverMany(baseUrls: string[]): Promise<DiscoveryResult[]>;
//# sourceMappingURL=discovery.d.ts.map