import type { SpotlightMemoryEntry } from "@inupedia/spotlight-protocol"; import type { MemoryGate } from "./gate.js"; import { type MemoryGateConfig } from "./gate.js"; import { type ExactMemoryBackend, type SemanticMemoryBackend } from "./memoryBackends.js"; import { type PackMemoryPaths } from "./paths.js"; import type { SemanticLookupOptions, SemanticWriteResult } from "./memoryStoreTypes.js"; export interface SemanticMemoryStoreLike { findSimilar(projectId: string, questionNorm: string, limit?: number, options?: SemanticLookupOptions): Promise>; putWithOptionalEmbedding(entry: SpotlightMemoryEntry): Promise; touch(entryId: string): void | Promise; count(projectId?: string): number | Promise; listEntries(limit?: number): SpotlightMemoryEntry[] | Promise; deleteEntry(entryId: string): boolean | Promise; deleteAll(projectId: string): number | Promise; } export interface ExactMemoryStoreLike { getExact(cacheKey: string): Promise; putExact(cacheKey: string, entry: SpotlightMemoryEntry): Promise; hasExact(cacheKey: string): Promise; touch(entryId: string): Promise; listEntries(limit?: number): SpotlightMemoryEntry[] | Promise; deleteEntry(entryId: string): boolean | Promise; deleteAll(projectId: string): number | Promise; count?(projectId?: string): number | Promise; } export interface PackMemoryStores { paths: PackMemoryPaths; exact: ExactMemoryStoreLike; semantic: SemanticMemoryStoreLike; gate: MemoryGate; backends: { exact: ExactMemoryBackend; semantic: SemanticMemoryBackend; countsAvailable: boolean; }; } export declare function createPackMemoryStores(params: { packsRoot: string; projectId: string; tenantId?: string; gateConfig?: MemoryGateConfig; lruMax?: number; }): PackMemoryStores; export { ExactMemoryStore } from "./exactStore.js"; export { SemanticMemoryStore } from "./semanticStore.js"; export { MilvusSemanticMemoryStore, isMilvusEmbeddingReady, validateMilvusEmbedding, } from "./milvusSemanticStore.js"; export { RedisExactMemoryStore } from "./redisExactStore.js"; export { resolveExactMemoryBackend, resolveSemanticMemoryBackend, resolveEffectiveSemanticMemoryBackend, isRemoteMemoryBackend, } from "./memoryBackends.js"; export { buildCacheKey, createMemoryEntryId, } from "./cacheKey.js"; export { createMemoryGate, type MemoryGate, type MemoryGateConfig, type MemoryStoreReader, type MemoryStoreWriter, } from "./gate.js"; export { defaultPackMemoryMeta, resolvePackMemoryDir, type PackMemoryMeta, type PackMemoryPaths, } from "./paths.js"; export { readPackMemoryMeta, refreshPackMemoryMeta, writePackMemoryMeta, } from "./meta.js"; export { type EmbeddingProvider, resolveEmbeddingProviderFromEnv, } from "./embeddingProvider.js"; export { getSpotlightRedisClient, isSpotlightRedisConfigured, spotlightRedisKey, } from "./redisClient.js"; export { getSpotlightMilvusClient, isSpotlightMilvusConfigured, resolveSpotlightMilvusDb, SPOTLIGHT_MILVUS_SEMANTIC_COLLECTION, } from "./milvusClient.js"; export type { SemanticLookupOptions, SemanticWriteResult, } from "./memoryStoreTypes.js"; export { resolveMemoryEntryScopeFields, entryMatchesLookupScopes, isMemoryEntryExpired, } from "./memoryEntryScope.js"; export { FILE_MEMORY_ENTRYPOINT, appendSpotlightFileMemory, buildSpotlightFileMemoryPrompt, ensureSpotlightFileMemoryEntrypoints, isSpotlightFileMemoryPath, loadSpotlightFileMemories, resolveAgentMemoryDir, resolveAgentMemoryEntrypoint, resolveSpotlightFileMemoryPaths, type BuildSpotlightFileMemoryPromptOptions, type LoadSpotlightFileMemoryOptions, type ResolveSpotlightFileMemoryPathsOptions, type SpotlightFileMemoryInfo, type SpotlightFileMemoryPaths, type SpotlightFileMemoryScope, } from "./fileMemory.js"; //# sourceMappingURL=index.d.ts.map