type Env = Record; /** A question is embedded as a query, doc sections as documents; some models encode the two differently. */ export type EmbedKind = 'document' | 'query'; export interface Embedder { /** Provider and model. Vectors are only ever compared with vectors of the same id. */ id: string; embed(texts: string[], kind: EmbedKind): Promise; } export interface EmbedOptions { env?: Env; timeoutMs?: number; fetch?: typeof fetch; } /** Every provider embeddings can come from, in priority order. */ export declare function listEmbedProviders(): string[]; /** The embedder the environment configures, or undefined when none is (search then stays keyword-only). */ export declare function resolveEmbedder(opts?: EmbedOptions): Embedder | undefined; export {}; //# sourceMappingURL=embed.d.ts.map