export interface SkillTarget { installDir: '.claude/skills' | '.agents/skills'; label: string; templateVars: Record; } export interface SkillDefinition { name: string; description: string; } export interface InstallResult { installed: number; errors: string[]; } export interface InstallOptions { force?: boolean; } export declare const SKILL_TARGETS: SkillTarget[]; export declare const INSTALLABLE_SKILLS: SkillDefinition[]; /** Replace `{{KEY}}` template markers with values from `vars`. */ export declare function resolveSkillTemplate(content: string, vars: Record): string; /** Read the package version from package.json. */ export declare function getPackageVersion(): string; /** Return the directory containing skill template sources. */ export declare function getSkillTemplateDir(): string; /** * Check `.scaffold-skill-version` markers in each target directory. * If any marker is missing or stale, reinstall all skills. * Skips silently if template source files are missing. */ export declare function syncSkillsIfNeeded(projectRoot: string): void; /** * Install all skill templates to both target directories, resolving * template variables per target. Writes version markers on success. */ export declare function installAllSkills(projectRoot: string, options?: InstallOptions): InstallResult; //# sourceMappingURL=sync.d.ts.map