import type Database from 'better-sqlite3'; import type { Task } from '../types.js'; export interface CreateTaskInput { readonly project_id: string; readonly title: string; readonly key?: string; readonly goal?: string; readonly refer_link?: string; readonly priority?: number; } export interface UpdateTaskInput { readonly title?: string; readonly goal?: string; readonly key?: string; readonly refer_link?: string | null; readonly priority?: number; readonly branch_name?: string | null; readonly workspace_name?: string | null; readonly workspace_branch?: string | null; readonly workspace_subrepo_branches_json?: string | null; readonly preferred_port?: number | null; readonly worktree_path?: string | null; readonly port?: number | null; readonly dev_server_state?: string; readonly context_vault_root_path?: string | null; readonly context_vault_sources_json?: string | null; readonly context_vault_files_json?: string | null; readonly context_vault_selected_file?: string | null; readonly latest_blocker?: string | null; } export declare class TaskRepository { private readonly db; constructor(db: Database.Database); create(input: CreateTaskInput): Task; findById(id: string): Task | null; findByProjectId(projectId: string): readonly Task[]; update(id: string, input: UpdateTaskInput): Task; delete(id: string): void; } //# sourceMappingURL=task.d.ts.map