/** * Commit Message Parser * @requirement FR-011: Auto-Task Creation from Commit Messages * * Parses conventional commit messages and extracts: * - Type (feat, fix, docs, etc.) * - Scope (optional) * - Subject * - Breaking changes * - Requirement IDs (FR-XXX, NFR-XXX) * - Area (inferred from keywords) * - Priority (inferred from keywords) * - Goal (generated task goal) */ export interface ParsedCommitInfo { type: string; scope?: string; subject: string; breaking: boolean; requirements: string[]; area?: string; priority?: 'P0' | 'P1' | 'P2' | 'P3'; goal: string; } /** * Parse conventional commit message */ export declare function parseCommitMessage(message: string): ParsedCommitInfo; /** * Check if commit message follows conventional commit format */ export declare function isConventionalCommit(message: string): boolean; /** * Get description for commit type */ export declare function getCommitTypeDescription(type: string): string; /** * Format parsed commit info for display */ export declare function formatParsedInfo(info: ParsedCommitInfo): string;