import type { GeneratedFile } from "./modules/types.js"; export declare const PROJECT_SKILL_VERSION = "1.2.0"; export declare const PROJECT_SKILL_MANIFEST_PATH = "skills/.mono-agent-managed.json"; export declare const PROJECT_SKILL_NAMES: readonly ["mono-agent-configure", "mono-agent-memory"]; export type ProjectSkillName = (typeof PROJECT_SKILL_NAMES)[number]; interface BundledProjectSkill { readonly name: ProjectSkillName; readonly contents: string; } export declare const BUNDLED_PROJECT_SKILLS: readonly BundledProjectSkill[]; export type ProjectSkillStatusKind = "ready" | "missing" | "stale" | "modified" | "collision"; export interface ProjectSkillStatus { readonly name: ProjectSkillName; readonly path: string; readonly status: ProjectSkillStatusKind; readonly installedSha256?: string; readonly expectedSha256: string; } export interface CheckProjectSkillsResult { readonly manifestPath: string; readonly manifestVersion?: string; readonly statuses: readonly ProjectSkillStatus[]; readonly ok: boolean; } export interface UpdateProjectSkillsResult extends CheckProjectSkillsResult { readonly updated: readonly string[]; readonly backupDir?: string; } export interface UpdateManagedProjectSkillsOptions { /** Fault-injection seam invoked before the built-in compare-and-swap writer. */ readonly beforeActivate?: (path: string, contents: string) => Promise; /** Fault-injection seam after target validation but before the old pathname is claimed. */ readonly beforeTargetClaim?: (path: string) => Promise; /** Fault-injection seam after staged-inode proof but before exclusive publication. */ readonly beforePublish?: (path: string, temporaryPath: string) => Promise; } export declare function managedProjectSkillFiles(): readonly GeneratedFile[]; export declare function checkManagedProjectSkills(cwd: string): Promise; /** Fail before init writes anything when an existing skill would be claimed or overwritten. */ export declare function assertManagedProjectSkillInitSafe(cwd: string): Promise; export declare function updateManagedProjectSkills(cwd: string, options?: UpdateManagedProjectSkillsOptions): Promise; export declare function managedProjectSkillsExist(cwd: string): Promise; export {}; //# sourceMappingURL=project-skills.d.ts.map