/** * Tree Phase: Generate the module tree structure. */ import type { Command } from '@oclif/core'; import type { IndexDatabase } from '../../../db/database.js'; import type { LlmLogOptions } from '../../llm/_shared/llm-utils.js'; import { type TreeGenerationContext } from '../../llm/_shared/module-prompts.js'; export interface TreePhaseContext { db: IndexDatabase; command: Command; model: string; dryRun: boolean; isJson: boolean; verbose: boolean; llmLogOptions: LlmLogOptions; maxModules: number; } /** * Execute the tree generation phase. */ export declare function runTreePhase(ctx: TreePhaseContext): Promise; /** * Build context for tree generation from database. */ export declare function buildTreeContext(db: IndexDatabase, maxModules?: number): TreeGenerationContext; //# sourceMappingURL=tree-phase.d.ts.map