/**
 * Bounded read of planning SQLite for CAE queue slice (ready-task depth).
 */
/** Bounded deterministic slice for draft-impact blast-radius sampling */
export type ImpactPreviewPlanningTaskRow = {
    id: string;
    status: string;
    phaseKey: string | null;
};
/**
 * List up to `limit` non-archived `ready`/`in-progress` tasks for deterministic CAE preview matrices.
 * Prefer rows whose `phase_key` matches `currentPhaseKey` when supplied. Read-only — returns [] if DB absent.
 */
export declare function listImpactPreviewPlanningTasks(workspacePath: string, effective: Record<string, unknown>, opts?: {
    currentPhaseKey?: string;
    limit?: number;
}): ImpactPreviewPlanningTaskRow[];
/**
 * Count non-archived `ready` tasks in relational task table; 0 if DB missing or table absent.
 */
export declare function countReadyTasksInPlanningSqlite(workspacePath: string, effective: Record<string, unknown>): number;
