import { QueryEmbeddingCache, VectorSearchFieldResults } from '../types/types'; /** * Service for semantic field matching within one or more layers. * Hides the embeddings worker from callers. */ export interface FieldSearchService { searchFields: (input: { text: string; layerIds: string[]; minScore: number; topResults: number; embeddingCache: QueryEmbeddingCache; }) => Promise; } /** * Factory that binds a Worker to the FieldSearchService. * The worker is captured privately and never exposed. */ export declare function createFieldSearchService(deps: { worker: Worker; }): FieldSearchService;