import type { IBackendEndpoints } from '../../endpoints.interface'; import type { IBackendContext } from '../../interfaces'; import type { LLMModel } from '../../interfaces'; import type { IModelRegistry, ModelApi, ModelCost } from '../../interfaces'; export type { LLMModel }; export default class ModelRegistry implements IModelRegistry { private readonly endpoints; constructor(config?: IBackendContext, endpoints?: IBackendEndpoints); fetchModels(headers: Record): Promise; extractCost(model: LLMModel): ModelCost; extractContextWindow(model: LLMModel): number | undefined; extractModelApi(model: LLMModel): ModelApi; } export declare function fetchModels(baseUrl: string, headers: Record): Promise; export declare function extractCost(model: LLMModel): ModelCost; export declare function extractContextWindow(model: LLMModel): number | undefined; export declare function extractModelApi(model: LLMModel): ModelApi;