export type TaskStatus = "pending" | "in-progress" | "done";
export interface TaskListItem {
    id: string;
    title: string;
    prompt: string;
    /** @deprecated Old field — migrated to title+prompt on load. */
    text?: string;
    details?: string;
    status: TaskStatus;
    createdAt: string;
}
export interface PendingTaskInfo {
    id: string;
    title: string;
    prompt: string;
}
export declare function taskProjectHash(cwd: string): string;
export declare function taskProjectDir(cwd: string, base?: string): string;
export declare function loadTasks(cwd: string): Promise<TaskListItem[]>;
export declare function loadTasksSync(cwd: string): TaskListItem[];
export declare function saveTasks(cwd: string, tasks: readonly TaskListItem[]): Promise<void>;
export declare function saveTasksSync(cwd: string, tasks: readonly TaskListItem[]): void;
export declare function getTaskCount(cwd: string): number;
export declare function getNextPendingTask(cwd: string): PendingTaskInfo | null;
export declare function markTaskInProgress(cwd: string, taskId: string): void;
//# sourceMappingURL=task-store.d.ts.map