export { FALLBACK_MODELS, NO_TEMPERATURE_MODEL_IDS, SETUP_MODEL_METADATA, } from "./model-fallbacks"; export type { CursorModel, CursorModelCapabilities, CursorModelParameter, CursorModelVariantMetadata, SetupModelMetadata, } from "./model-fallbacks"; import type { CursorModel } from "./model-fallbacks"; /** * Build an alias -> canonical-id index from a discovered model set. Aliases * that collide with a canonical id, or with an earlier model's alias, are not * re-registered (first canonical wins), so alias resolution is deterministic. */ export declare function buildAliasIndex(models: readonly CursorModel[]): Map; export declare function getRequiredCursorModelIds(): readonly string[]; export declare function getCachedCursorModels(apiKey?: string): CursorModel[]; /** * Token-free catalog for the local proxy: live discovery cache when present, * otherwise the static fallback list. Prefer this over a second proxy-owned * mirror — discovery already publishes into `cachedModels`. */ export declare function peekCachedCursorModels(): CursorModel[]; export declare function getCursorModels(apiKey: string, options?: { timeoutMs?: number; allowStale?: boolean; }): Promise; /** @internal Test-only. */ export declare function clearModelCache(): void; /** @internal Test-only — seed the discovery cache without a network flight. */ export declare function setCachedCursorModelsForTest(models: ReadonlyArray): void;