export interface MigrateClaudeRulesInput { readonly projectRoot: string; readonly apply?: boolean; } export interface MigrateClaudeRulesData { readonly backupPath: string | null; readonly thinnedFiles: readonly string[]; readonly scaffoldedFiles: readonly string[]; /** * The constitution files this migration created — `AGENTS.md` (the shared * cross-tool body) and the `CLAUDE.md` pointer that imports it. A file * that already existed is never overwritten. */ readonly scaffoldedConstitutionFiles: readonly string[]; readonly preservedFiles: readonly string[]; readonly wouldChange: boolean; readonly applied: boolean; readonly nextActions: readonly string[]; } export interface MigrateClaudeRulesResult { readonly ok: true; readonly data: MigrateClaudeRulesData; readonly warnings: readonly string[]; } export declare function migrateClaudeRules(input: MigrateClaudeRulesInput): MigrateClaudeRulesResult;