/**
 * Adapter discovery: scans packages/adapters/ for installed provider adapters.
 * Reads adapter manifests and detects active providers in the current environment.
 *
 * @task T5240
 */
import type { AdapterManifest, DetectionPattern } from '@cleocode/contracts';
/**
 * Scan the packages/adapters/ directory for adapter packages.
 * Each adapter must have a manifest.json at its root.
 */
export declare function discoverAdapterManifests(projectRoot: string): AdapterManifest[];
/**
 * Detect whether a provider is active in the current environment
 * by checking its detection patterns.
 */
export declare function detectProvider(patterns: DetectionPattern[]): boolean;
//# sourceMappingURL=discovery.d.ts.map