import type { WarpContext } from "./context.js"; export type RefactorDifficultyRisk = "low" | "medium" | "high"; export type RefactorDifficultyRecommendation = "refactor_freely" | "refactor_with_tests" | "plan_before_refactor"; export interface RefactorDifficultyOptions { readonly symbol: string; readonly path?: string | undefined; readonly limit?: number | undefined; } export interface RefactorDifficultyAxis { readonly score: number; } export interface RefactorDifficultyCurvature extends RefactorDifficultyAxis { readonly changeCount: number; readonly signatureChangeCount: number; } export interface RefactorDifficultyFriction extends RefactorDifficultyAxis { readonly referenceCount: number; readonly referencingFiles: readonly string[]; } export interface RefactorDifficultyEntry { readonly symbol: string; readonly filePath: string; readonly kind: string; readonly score: number; readonly risk: RefactorDifficultyRisk; readonly recommendation: RefactorDifficultyRecommendation; readonly curvature: RefactorDifficultyCurvature; readonly friction: RefactorDifficultyFriction; } export interface RefactorDifficultyResult { readonly symbol: string; readonly path?: string | undefined; readonly entries: readonly RefactorDifficultyEntry[]; readonly total: number; readonly summary: string; } export declare function refactorDifficultyFromGraph(ctx: WarpContext, options: RefactorDifficultyOptions): Promise; //# sourceMappingURL=refactor-difficulty.d.ts.map