import { type DataType, type DeviceType, type PretrainedConfig } from '@huggingface/transformers'; export interface ModelPrompts { query: string; document: string; default: string; } export interface ModelSettings { prompts: ModelPrompts; warnings: string[]; } /** * The model's config_sentence_transformers.json, or `null` when it has none. * * The file is fetched only while the model itself is not cached yet, so later * runs never touch the network for it; a model cached before this file was * read stays without one. A fetch or parse failure also yields `null`, logged. */ export declare function loadSentenceTransformersConfig(modelPath: string, cacheDir: string, pipelineOptions: { config: PretrainedConfig; dtype: DataType; device: DeviceType; }): Promise; /** Prompts per embedding role, and warnings for settings this tool cannot honor. */ export declare function resolveModelSettings(modelPath: string, config: unknown): ModelSettings; //# sourceMappingURL=sentence-transformers-config.d.ts.map