/**
 * Localhost runtime discovery — probes the known local-tier provider templates
 * (Ollama, LM Studio, vLLM, owlmlx, ...) at their default localhost endpoints
 * and reports which ones answer. Used by the Local Runtime wizard to surface
 * "we detected X already running on this machine" hints without forcing users
 * to type ports.
 */
export interface DiscoveredRuntime {
    templateId: string;
    label: string;
    endpoint: string;
    reachable: boolean;
    latencyMs: number;
    status?: number;
    detail: string;
}
export interface LocalhostDiscoveryDeps {
    fetch: typeof globalThis.fetch;
    now: () => number;
}
export interface LocalhostDiscoveryOptions {
    timeoutMs?: number;
    deps?: Partial<LocalhostDiscoveryDeps>;
}
/**
 * Probe every local-tier provider template at its default endpoint in parallel.
 * Returns one DiscoveredRuntime per local template. Order matches the order
 * local templates appear in PROVIDER_TEMPLATES.
 */
export declare function discoverLocalRuntimes(options?: LocalhostDiscoveryOptions): Promise<DiscoveredRuntime[]>;
