import type { MigrationDb } from "./index"; /** * Migration 058: Add indices that support the paginated-ID knowledge-graph * queries introduced to fix Signet-AI/signetai#515. * * - `idx_entities_order` — compound index on the agent scope + ordering * columns used by `listKnowledgeEntities`. Lets SQLite serve the `page` * CTE as an index-only scan before counts are computed. * - `idx_entities_extracted_mentions` — partial compound index narrowing * the `pruneSingletonExtractedEntities` candidate scan from the full * entity set to extracted entities only. * * Both are idempotent (`IF NOT EXISTS`) and safe to reapply. */ export declare function up(db: MigrationDb): void; //# sourceMappingURL=058-knowledge-graph-indices.d.ts.map