import type Database from "better-sqlite3";
import type { DashboardTaskStateDisplayState, DashboardTaskStateProjectionSummary } from "../../../contracts/dashboard-summary-run.js";
import type { ModuleLifecycleContext } from "../../../contracts/module-contract.js";
import { type TaskStateProjectionSyncStatus } from "../persistence/task-state-projection-meta-store.js";
import type { TaskStateSyncState } from "../persistence/task-state-sync-status.js";
export declare function resolveTaskStateDisplayState(input: {
    gitSyncState: TaskStateSyncState | null;
    projectionSyncStatus: TaskStateProjectionSyncStatus | null;
    notGitRepo?: boolean;
}): {
    displayState: DashboardTaskStateDisplayState;
    remediation: string | null;
};
/** Read-only projection cursor + git alignment for dashboard (no git fetch). */
export declare function buildDashboardTaskStateProjectionSummary(ctx: ModuleLifecycleContext, db: Database.Database | undefined): Promise<DashboardTaskStateProjectionSummary>;
