/** * Jira Key Extraction Utilities * * Extract Jira issue keys from text (branch names, commit messages, etc.) */ /** * Extract Jira issue keys from text * * @param text - Text to search (branch name, commit message, etc.) * @param projectKey - Optional project key to filter by (e.g., "NOVA", "PROJ") * @returns Array of unique Jira issue keys found * * @example * extractJiraKeys("feature/NOVA-123-add-checkout") // ["NOVA-123"] * extractJiraKeys("NOVA-123 and NOVA-456", "NOVA") // ["NOVA-123", "NOVA-456"] */ export declare function extractJiraKeys(text: string, projectKey?: string): string[]; /** * Check if text contains at least one Jira key */ export declare function hasJiraKey(text: string, projectKey?: string): boolean; /** * Extract the first Jira key from text */ export declare function extractFirstJiraKey(text: string, projectKey?: string): string | null; //# sourceMappingURL=jira-keys.d.ts.map