import type { ExecutionReport, RunFlags } from "./execution.js"; import type { Project, Config } from "../config/config.js"; export interface SyncResult { projectPath: string; report: ExecutionReport; unmatchedPatterns: string[]; } /** * Synchronize rules for a single project. * * Process: * 1. Load rule files from the central repository using project-specific glob patterns * 2. Generate AGENTS.md with concatenated rule content * 3. Execute write actions (respecting dry-run flag) * 4. Ensure a CLAUDE.md include file points to AGENTS.md for Claude Code compatibility * * @param project - The project configuration specifying path and rule patterns * @param flags - Execution options (e.g., `{ dryRun: true }` to preview changes) * @param config - Global configuration containing rulesSource path * @returns Summary of execution results including paths written */ export declare function syncProject(project: Project, flags: RunFlags, config: Config): Promise;