import { Collection, Filter } from "mongodb"; import { ModelDoc, ModelType } from "./models.types"; /** Raw typed handle to the `models` collection. */ export declare const getModelsCollection: () => Collection; /** Find models by an arbitrary filter. */ export declare const findModels: (filter?: Filter) => Promise; /** * Get a single model by its `modelId`, optionally scoped to a `type`. * @param modelId e.g. "deepgram-stt-phonecall" * @param type optional narrowing filter, since `modelId` isn't guaranteed unique across types */ export declare const getModelByModelId: (modelId: string, type?: ModelType) => Promise; /** * Token context window for a model (`configDefaults.contextWindow`). * `null` when the model is missing or the value is not a positive number. */ export declare const getModelContextWindow: (modelId: string) => Promise; /** * Get all models for a given `provider`, optionally scoped to a `type`. */ export declare const getModelsByProvider: (provider: string, type?: ModelType) => Promise; /** Get all models of a given `type`. */ export declare const getModelsByType: (type: ModelType) => Promise; /** Get all models of a given `type` where `available` is true. */ export declare const getAvailableModelsByType: (type: ModelType) => Promise; //# sourceMappingURL=models.getters.d.ts.map