import { QueryEmbeddingCache } from '../types/types'; /** * Service for semantic layer matching. * Hides the embeddings worker from callers. */ export interface LayerSearchService { searchLayers: (input: { text: string; minScore: number; embeddingCache?: QueryEmbeddingCache; }) => Promise<{ id: string; score: number; }[]>; } /** * Factory that binds a Worker to the LayerSearchService. * The worker is captured privately and never exposed. */ export declare function createLayerSearchService(deps: { worker: Worker; }): LayerSearchService;