import type { ModuleCommandResult, ModuleLifecycleContext } from "../../../contracts/module-contract.js";
export type TaskPersistenceReadinessSeverity = "ok" | "warning" | "error";
export type TaskPersistenceReadinessCheck = {
    code: string;
    severity: TaskPersistenceReadinessSeverity;
    message: string;
    affectedCount: number;
    sampleTaskIds: string[];
    remediation: string | null;
};
export type TaskPersistenceReadinessReport = {
    schemaVersion: 1;
    ready: boolean;
    dbPath: string;
    sqliteUserVersion: number | null;
    planningGeneration: number | null;
    relationalTasks: boolean | null;
    taskCount: number;
    transitionCount: number;
    mutationCount: number;
    checks: TaskPersistenceReadinessCheck[];
    summary: {
        errorCount: number;
        warningCount: number;
        okCount: number;
    };
};
export declare function buildTaskPersistenceReadinessReport(args: {
    workspacePath: string;
    effectiveConfig: Record<string, unknown> | undefined;
}): TaskPersistenceReadinessReport;
export declare function runTaskPersistenceReadiness(ctx: ModuleLifecycleContext, _args: Record<string, unknown>): ModuleCommandResult;
