import type Database from 'better-sqlite3'; import type { TaskSubrepo, DevServerStatusValue } from '../types.js'; export interface CreateTaskSubrepoInput { readonly task_id: string; readonly repo_path: string; readonly branch_name?: string | null; readonly worktree_path?: string | null; readonly preferred_port?: number | null; readonly dev_command?: string | null; readonly dev_server_state?: DevServerStatusValue | null; readonly created_by_taskhelm?: boolean; } export interface UpdateTaskSubrepoInput { readonly branch_name?: string | null; readonly worktree_path?: string | null; readonly preferred_port?: number | null; readonly dev_command?: string | null; readonly dev_server_state?: DevServerStatusValue | null; readonly created_by_taskhelm?: boolean; } export declare class TaskSubrepoRepository { private readonly db; constructor(db: Database.Database); create(input: CreateTaskSubrepoInput): TaskSubrepo; findById(id: string): TaskSubrepo | null; findByTaskId(taskId: string): readonly TaskSubrepo[]; findByTaskIdAndRepoPath(taskId: string, repoPath: string): TaskSubrepo | null; update(id: string, input: UpdateTaskSubrepoInput): TaskSubrepo; delete(id: string): void; deleteByTaskId(taskId: string): void; } //# sourceMappingURL=task-subrepo.d.ts.map