/** * Branch Name Generator * * Generates Git branch names from ticket keys and folder names. * Ensures branch names match folder structure. */ /** * Options for branch name generation */ export interface BranchNameOptions { prefix?: string; includeTicketKey?: boolean; maxLength?: number; } /** * Generate branch name from ticket key and optional description * * Pattern: {prefix}/{project-key}-story{number}-{slug} * Example: feature/NOVA-story123-user-checkout */ export declare function generateBranchName(ticketKey: string, description?: string, options?: BranchNameOptions): string; /** * Generate branch name from folder path * Extracts ticket key from folder name and generates branch name * * Example: `.orchestrator/jira/tasks/NOVA-123/` → `feature/NOVA-story123-task-folder` */ export declare function generateBranchNameFromFolder(folderPath: string, options?: BranchNameOptions): string | null; /** * Validate branch name matches expected pattern */ export declare function validateBranchNamePattern(branchName: string, ticketKey: string): { valid: boolean; reason?: string; }; /** * Extract ticket key from branch name */ export declare function extractTicketKeyFromBranch(branchName: string): string | null; //# sourceMappingURL=branch-generator.d.ts.map