/** Result of finding a plan file */ export interface PlanFile { path: string; content: string; } export interface FindPlanContentOptions { includeRepoLocal?: boolean; includeGlobal?: boolean; } /** Extracted ticket info for specialist selection */ export interface TicketInfo { title: string; filePatterns: string[]; } /** * Find the most recently modified plan file in .claude/plans/. * Searches repo-local first ({cwd}/.claude/plans/), then falls back * to global (~/.claude/plans/) since Claude Code writes plans there. */ export declare function findPlanContent(cwd: string, options?: FindPlanContentOptions): PlanFile | null; /** * Count tickets in plan content. * Matches `### T\d+:` or `### S\d+-\d+:` patterns, then the Markdown * ticket table emitted by `slope sprint plan`, then distinct ticket keys * anywhere in the document, and finally falls back to all H3 headers. */ export declare function countTickets(content: string): number; /** * Count distinct packages/ references in plan content. */ export declare function countPackageRefs(content: string): number; /** * Extract backtick-wrapped file paths from plan content. */ export declare function extractFilePatterns(content: string): string[]; /** * Extract ticket titles and their associated file references for specialist selection. */ export declare function extractTicketInfo(content: string): TicketInfo[]; //# sourceMappingURL=plan-analysis.d.ts.map