import type { LocalProviderDefinition, LocalProviderModelDefinition, ProviderDefinition } from "./local-providers.js"; export interface DiscoveredProvider extends LocalProviderDefinition { readonly baseUrl: string; readonly models: readonly LocalProviderModelDefinition[]; } export interface DiscoverLocalProvidersInput { readonly configured?: readonly ProviderDefinition[]; readonly fetch?: typeof fetch; readonly timeoutMs?: number; readonly signal?: AbortSignal; /** Bypass one warm cache entry once during its current TTL window. */ readonly forceRefresh?: boolean; } /** Clear process-local probe state, primarily for deterministic host tests. */ export declare function clearLocalProviderDiscoveryCache(): void; /** * Best-effort zero-config discovery for the two supported local endpoints. * Provider probes run concurrently and fail independently; malformed config, * transport failures, timeouts, and response-shape drift all resolve to an * empty/partial list instead of escaping into config load or host startup. */ export declare function discoverLocalProviders(input?: DiscoverLocalProvidersInput): Promise; //# sourceMappingURL=provider-discovery.d.ts.map