import type { PrefixSource } from './index.js'; export interface ResolvedPrompts { query: string | null; document: string | null; source: PrefixSource; baseModel: string | null; } /** * Three-tier prompt resolution: * 1. canonical `config_sentence_transformers.json prompts` on this repo * 2. same JSON on the upstream `base_model` from README YAML frontmatter * 3. fingerprint the README itself (this repo, then the base_model's), * with language-aware script filtering to keep BGE-en from picking * the Chinese prefix when the EN+ZH README documents both */ export declare function resolvePrompts(modelId: string, revision: string, opts: { timeoutMs: number; retries: number; fetcher: typeof fetch; }): Promise;