@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 615 B
TypeScript
import type { PathSpec, SearchQuery } from '../../types.ts';
import type { Mem0Accessor } from '../../accessor/mem0.ts';
/**
* Run a semantic search in the scope and render ranked results.
*
* `memoryIds` is an optional result id allowlist.
*/
export declare function searchMemoriesRendered(accessor: Mem0Accessor, query: string, mountPrefix: string, topK: number, threshold: number, memoryIds?: ReadonlySet<string>): Promise<[string, string][]>;
export declare function searchMany(accessor: Mem0Accessor, paths: PathSpec[], query: SearchQuery): Promise<[string, string][]>;
//# sourceMappingURL=search.d.ts.map