/** * Seed Loader - Applies system seed content to the knowledge base * * Uses upsert logic to: * - Insert new system content * - Update system content that hasn't been modified by the user * - Skip content that the user has modified (detected via hash mismatch) */ import type { DB } from "../db/index.js"; import type { SeedManifest } from "./manifest.js"; export interface SeedResult { version: number; tags: { created: number; updated: number; skipped: number; }; facts: { created: number; updated: number; skipped: number; }; skills: { created: number; updated: number; skipped: number; }; } /** * Apply seed content to the database * * @param db - Database connection * @param manifest - Seed manifest to apply (defaults to built-in manifest) * @returns Result summary */ export declare function applySeed(db: DB, manifest?: SeedManifest): Promise; /** * Check if seeding has been applied at the given version */ export declare function getSeedVersion(db: DB): Promise; /** * Get all system-managed content (has systemId) */ export declare function getSystemContent(db: DB): Promise<{ tags: { id: number; name: string; systemId: string; }[]; facts: { id: number; systemId: string; }[]; skills: { id: number; name: string; systemId: string; }[]; }>; //# sourceMappingURL=index.d.ts.map