import type { SqliteDatabase } from '../db/adapter.js'; import { readEntry } from '../memory/entries.js'; export declare const CONTEXT_SELECTION_STATE_MAX_ENTRIES = 10000; export declare function semanticProjectionSnapshot(database: SqliteDatabase, entry: ReturnType): { activeProfileId: string | null; embedding: null | { profileId: string; revision: number; contentHash: string; documentHash: string; vectorHash: string; dimensions: number; }; }; /** * Hash the bounded ordinary-memory corpus that can affect capability gating. * Managed external references and deterministic Curator global projections are * deliberately excluded because neither requires memory-reasoning. */ export declare function ordinaryContextSelectionStateHash(database: SqliteDatabase, relevantWorkspaces: readonly string[], options?: { includeEcosystem?: boolean; }): string; /** * Hash every currently retrievable entry that can affect broker ranking or replay. * This is deliberately broader than the ordinary-memory capability gate above: * managed external Skill entries are context inputs and therefore part of this * state identity whenever their exact current mapping is active. */ export declare function contextRetrievalStateHash(database: SqliteDatabase, relevantWorkspaces: readonly string[], options?: { includeEcosystem?: boolean; }): string; //# sourceMappingURL=selection-state.d.ts.map