export type { TaskStatus, TaskPriority, Note as Task } from "./note";

export interface TaskListResponse {
  tasks: import("./note").Note[];
  total: number;
}

export interface TaskLog {
  id: number;
  task_id: number;
  content: string;
  duration_minutes: number | null;
  created_at: string;
  updated_at: string;
}

export interface NoteDraft {
  id: number;
  note_id: number;
  proposed_body: string;
  original_body: string;
  instruction: string;
  scope: string;
  created_at: string;
  updated_at: string;
}

export interface NoteVersion {
  id: number;
  note_id: number;
  title: string;
  tags: string[];
  body?: string;
  pin_kind: "auto" | "manual" | null;
  pin_label: string | null;
  created_at: string;
}
