import type { GitPlatformClient, PRStatusResult, SpecPRLink } from '../../types/github.js';
/**
 * Extract spec IDs from a string (title, body, branch name).
 */
export declare function extractSpecIds(text: string): string[];
/**
 * Find PRs linked to a given spec ID by checking branch names and titles.
 */
export declare function findLinkedPRs(client: GitPlatformClient, specId: string): Promise<PRStatusResult[]>;
/**
 * Given a PR, identify which spec(s) it is implementing.
 */
export declare function identifySpecsFromPR(pr: PRStatusResult): string[];
/**
 * Build a SpecPRLink from a spec ID and associated PRs/issues.
 */
export declare function buildSpecLink(specId: string, prs: PRStatusResult[], issueNumbers?: number[]): SpecPRLink;
//# sourceMappingURL=spec-linker.d.ts.map