/**
 * Load CAE artifact + activation registry from kit SQLite (active version).
 * Phase 70 — CAE_PLAN.md / T890.
 */
import Database from "better-sqlite3";
import type { CaeLoadedRegistry, LoadCaeRegistryResult } from "./cae-registry-load.js";
type SqliteDatabase = InstanceType<typeof Database>;
/**
 * Assemble and validate the active CAE registry from an open kit SQLite handle.
 */
export declare function loadCaeRegistryFromSqliteDb(db: SqliteDatabase, workspaceRoot: string, options?: {
    verifyArtifactPaths?: boolean;
    versionId?: string;
}): LoadCaeRegistryResult;
/**
 * Open kit planning SQLite from `workspaceRoot` + `effective` config and load the active CAE registry.
 */
export declare function loadCaeRegistryFromSqlite(workspaceRoot: string, effective: Record<string, unknown>, options?: {
    verifyArtifactPaths?: boolean;
}): LoadCaeRegistryResult;
/** Open DB at path (read/write), migrate, and load registry — for tests without full workspace config. */
export declare function loadCaeRegistryFromSqliteFilePath(dbAbsPath: string, workspaceRoot: string, options?: {
    verifyArtifactPaths?: boolean;
}): LoadCaeRegistryResult;
/**
 * Deactivate all versions, insert a new active version, and persist artifact + activation rows
 * from a validated in-memory registry (typically from `loadCaeRegistry` JSON seed).
 */
export declare function replaceActiveCaeRegistryFromLoaded(db: SqliteDatabase, input: {
    versionId: string;
    createdBy: string;
    note?: string | null;
    registry: CaeLoadedRegistry;
}): void;
export {};
