/**
 * Cursor Model Catalog
 *
 * Manages available models from Cursor IDE.
 */
import type { CursorModel } from './types';
import type { CursorApiCredentials } from './cursor-protobuf-schema';
import { DEFAULT_CURSOR_MODEL, DEFAULT_CURSOR_MODELS, detectProvider, formatModelName } from './cursor-default-models';
/** Default daemon port */
export declare const DEFAULT_CURSOR_PORT = 20129;
export { DEFAULT_CURSOR_MODEL, DEFAULT_CURSOR_MODELS, detectProvider, formatModelName };
export declare function clearCursorModelsCache(): void;
export declare function fetchModelsFromCursorApi(credentials: CursorApiCredentials, options?: {
    endpoint?: string;
    timeoutMs?: number;
}): Promise<CursorModel[] | null>;
export declare function getModelsForDaemon(options?: {
    credentials?: CursorApiCredentials | null;
    endpoint?: string;
    timeoutMs?: number;
}): Promise<CursorModel[]>;
/**
 * Fetch available models from running cursor daemon.
 *
 * @param port The port cursor daemon is running on
 * @returns List of available models
 */
export declare function fetchModelsFromDaemon(port: number): Promise<CursorModel[]>;
/**
 * Get available models (from daemon or defaults).
 * Checks daemon health first to avoid 5s timeout when daemon is not running.
 */
export declare function getAvailableModels(port: number): Promise<CursorModel[]>;
export declare function resolveCursorRequestModel(requestedModel: string | null | undefined, availableModels: CursorModel[]): string;
/**
 * Get the default model.
 * Uses GPT-5.3 Codex as default.
 */
export declare function getDefaultModel(): string;
//# sourceMappingURL=cursor-models.d.ts.map