@issue-linker/core
Version:
Core library for issue-linker functionality
10 lines • 543 B
TypeScript
import type { CheckMode } from "../domain/validation-schemas.js";
/**
* Find issue numbers from text based on check mode or custom pattern
* @param text - The text to search in
* @param checkMode - The check mode ("default", "branch", or "commit")
* @param customPattern - Optional custom extraction pattern (overrides mode default)
* @returns Array of unique issue numbers found
*/
export declare function findIssueNumbers(text: string, checkMode: CheckMode, customPattern?: string): number[];
//# sourceMappingURL=issue-finder.d.ts.map