/** * File system utilities for .jm-mate tickets * * NOTE: This file maintains backwards compatibility with the old structure. * New code should use fsLayout.ts for the project-based structure. */ import type { JmMateTicketMeta } from "./types"; /** * Get ticket directory path (legacy - for backwards compatibility) * @deprecated Use fsLayout.ticketDir(root, projectKey, ticketKey) instead */ export declare function ticketDir(root: string, key: string): string; /** * Get ticket.meta.json path (legacy) * @deprecated Use fsLayout.ticketMetaPath(root, projectKey, ticketKey) instead */ export declare function ticketMetaPath(root: string, key: string): string; /** * Get plan.md path (legacy) * @deprecated Use fsLayout.ticketPlanPath(root, projectKey, ticketKey) instead */ export declare function ticketPlanPath(root: string, key: string): string; /** * Get tasks.md path (legacy) * @deprecated Use fsLayout.ticketTasksPath(root, projectKey, ticketKey) instead */ export declare function ticketTasksPath(root: string, key: string): string; /** * Get progress.log.md path (legacy) * @deprecated Use fsLayout.ticketProgressPath(root, projectKey, ticketKey) instead */ export declare function ticketProgressPath(root: string, key: string): string; /** * Get notes.md path (legacy) * @deprecated Use fsLayout.ticketNotesPath(root, projectKey, ticketKey) instead */ export declare function ticketNotesPath(root: string, key: string): string; /** * Write ticket metadata (uses new project-based structure) */ export declare function writeTicketMeta(root: string, meta: JmMateTicketMeta): Promise; /** * Load ticket metadata (supports both old and new structure) */ export declare function loadTicketMeta(root: string, key: string): Promise; /** * Ensure ticket scaffold exists with all required files * Uses new project-based structure */ export declare function ensureTicketScaffold(root: string, meta: JmMateTicketMeta, config: { jiraProjectKey: string; repoName?: string; }, options?: { overwritePlan?: boolean; overwriteTasks?: boolean; }): Promise; /** * List all ticket keys in .jm-mate (supports both old and new structure) * @deprecated Use fsLayout.listTicketsForProject() for new structure */ export declare function listTicketKeys(root: string): Promise; //# sourceMappingURL=fsTickets.d.ts.map