/** * Task Manager for Jira Tickets * * Manages the `.orchestrator/jira/tasks/{TICKET-KEY}/` folder structure. * Creates README.md and task files when a ticket moves to "In Progress". */ import type { JiraIssue } from "../types"; /** * Get task folder path for a ticket * Pattern: `.orchestrator/jira/tasks/{TICKET-KEY}/` */ export declare function getTaskFolderPath(ticketKey: string, baseDir?: string): string; /** * Get README path for a ticket task folder */ export declare function getTaskReadmePath(ticketKey: string, baseDir?: string): string; /** * Get task file path */ export declare function getTaskFilePath(ticketKey: string, taskName: string, baseDir?: string): string; /** * Generate branch name from ticket key and folder name * Pattern: {project-key}-story{number}-{slug} * Example: NOVA-story123-folder-name */ export declare function generateBranchName(ticketKey: string, folderName?: string): string; /** * Create task folder structure for a ticket * This is called when a ticket moves to "In Progress" */ export declare function createTaskFolder(ticketKey: string, baseDir?: string, ticket?: JiraIssue): Promise<{ folderPath: string; readmePath: string; branchName: string; }>; /** * Create a task file in the task folder */ export declare function createTaskFile(ticketKey: string, taskName: string, taskContent: string, baseDir?: string): Promise; /** * List all task files in a ticket folder */ export declare function listTaskFiles(ticketKey: string, baseDir?: string): Promise; /** * Read task file content */ export declare function readTaskFile(ticketKey: string, taskName: string, baseDir?: string): Promise; /** * Check if task folder exists for a ticket */ export declare function taskFolderExists(ticketKey: string, baseDir?: string): boolean; //# sourceMappingURL=task-manager.d.ts.map