import type { BacklogTicket, ExecutionPlan, PlanFileEntry } from './types.js'; import type { Logger } from './logger.js'; /** * Extract top keywords from text for grep discovery. */ export declare function extractKeywords(text: string, max?: number): string[]; /** * Tier 1.5: Use ticket.modules for scoped file discovery. * Includes module files themselves (if they exist on disk) plus grep within module paths. */ export declare function tier15Modules(ticket: BacklogTicket, cwd: string): PlanFileEntry[] | null; /** * Generate a concrete execution plan for a ticket using 4-tier file discovery. * No embeddings required. */ export declare function generatePlan(ticket: BacklogTicket, model: string, cwd: string, log: Logger): ExecutionPlan; /** * Format an ExecutionPlan as a structured Aider --message prompt. */ export declare function formatPlanAsPrompt(plan: ExecutionPlan, ticket: BacklogTicket): string; //# sourceMappingURL=planner.d.ts.map