export declare const MANAGER_VERSION = "5.12.0"; export interface SkillManifest { name: string; version: string; description: string; compatibility?: string; agent?: { id: string; config: Record; } | null; mcp?: Record> | null; commands?: string[]; tags?: string[]; } export interface CatalogEntry { manifest: SkillManifest; source: "public" | "private"; } export interface InstalledSkillInfo { version: string; installedAt: string; location: "global" | "project"; } export interface ManagerState { version: number; managerVersion: string; skills: Record; } export interface OpenCodePaths { configDir: string; commandDir: string; skillsDir: string; agentConfigPath: string; stateFilePath: string; packageSkillsDir: string; opencodeJsonPath: string; } export declare function detectOpenCodePaths(): Promise; export declare function ensureDirExists(dirPath: string): Promise; export declare function readJsonFile(filePath: string, fallback: T): Promise; export declare function writeJsonFile(filePath: string, data: unknown): Promise; export declare function readText(filePath: string): Promise; export declare function writeText(filePath: string, data: string): Promise;