import type { TaskRecord } from "./records.js"; export declare const TASK_SELECTION_RULES: readonly ["priority_asap", "priority_later_deferral", "workflow_progress", "priority_soon", "created_at", "task_id", "only_eligible_task", "no_eligible_tasks"]; export type TaskSelectionRule = (typeof TASK_SELECTION_RULES)[number]; export type PublicTaskPriority = "asap" | "soon" | "in_turn" | "later"; export interface NextTaskSelection { task: TaskRecord | null; nextStatus: string | null; selection: { rule: TaskSelectionRule; explanation: string; }; } export declare function publicTaskPriority(priority: string | null): PublicTaskPriority; export declare function localizedTaskPriorityLabel(priority: PublicTaskPriority, projectLanguage: string): string; /** * Choose one task from a point-in-time project snapshot. The comparator mirrors * Pony's scheduling contract and returns the first rule that distinguishes the * winner from the runner-up, keeping CLI and web guidance deterministic. */ export declare function selectNextTask(tasks: readonly TaskRecord[], taskStatuses: readonly string[], projectLanguage?: string): NextTaskSelection; //# sourceMappingURL=task-selection.d.ts.map