import type { TaskType, TaskPriority, TaskStatus, RoleName, TaskStage } from './common'; /** Task record from database */ export interface Task { id: string; sprint_id: string; parent_id: string | null; content: string | null; task_type: TaskType; priority: TaskPriority; owner: RoleName; points: number; status: TaskStatus; stage: TaskStage; session_key: string | null; started_at: string | null; completed_at: string | null; scope_in: string | null; scope_out: string | null; decisions: string | null; dependencies: string | null; acceptance: string | null; created_at: string; updated_at: string; removed_at: string | null; } /** Result of task creation */ export interface TaskResult { id: string; sprint_id: string; parent_id: string | null; content: string | null; task_type: TaskType; priority: TaskPriority; owner: RoleName; points: number; status: TaskStatus; stage: TaskStage; created_at: string; } /** Detailed task information for `task show` */ export interface TaskDetail extends Task { sprint_name: string | null; parent_content: string | null; } /** Options for task creation */ export interface TaskAddOptions { /** Explicit task ID (4-digit zero-padded NNNN). If not provided, auto-generated. */ task_id?: string; parent_id?: string; task_type?: TaskType; priority?: TaskPriority; points?: number; /** Initial stage (defaults to 'Planning') */ stage?: TaskStage; } /** Options for task move */ export interface TaskMoveContext { session_key?: string; owner?: string; } /** Fields that can be updated on a task (metadata only — no stage/owner/sprint) */ export interface TaskUpdateFields { content?: string; task_type?: TaskType; priority?: TaskPriority; points?: number; scope_in?: string; scope_out?: string; acceptance?: string; decisions?: string; dependencies?: string; /** Raw content from --content-file (frontmatter extraction handled by service) */ content_file_content?: string; } //# sourceMappingURL=task.d.ts.map