@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
9 lines • 684 B
TypeScript
import type { Accessor } from '../../accessor/base.ts';
import type { PathSpec } from '../../types.ts';
import type { SearchOps } from '../../vfs/types.ts';
import type { VectorTree } from './types.ts';
/** Rank a table's rows and render each hit under its canonical path. */
export declare function searchRowsOutput<A extends Accessor>(tree: VectorTree<A>, accessor: A, query: string, paths: PathSpec[], topK: number, threshold: number, mountPrefix: string): Promise<[string, string][]>;
/** Build a store's ranked search, one native ranking per batch. */
export declare function makeSearch<A extends Accessor>(tree: VectorTree<A>): SearchOps<A>;
//# sourceMappingURL=search.d.ts.map