import type { SkillArtifact } from '../types.js'; export interface SourceLineRange { startLine: number; endLine: number; } export interface SplitReferencePlan { relativePath: string; title: string; content: string; sourceLineRange: SourceLineRange; } export interface SplitPlan { skillFilePath: string; skillRelativePath: string; beforeLineCount: number; afterLineCount: number; referencesToCreate: SplitReferencePlan[]; newSkillBody: string; newSkillContent: string; status: 'noop' | 'planned' | 'blocked'; reason?: string; } interface PlanBodySplitDeps { pathExists?: (targetPath: string) => boolean; } export declare function planBodySplit(skill: SkillArtifact, maxBodyLines: number, deps?: PlanBodySplitDeps): SplitPlan; export declare function applyBodySplitPlan(plan: SplitPlan): { updatedSkill: boolean; writtenReferenceFiles: string[]; }; export {};