import type { LocalSkillRegistry, LocalSkillRegistryEntry, SkillDaemonHandle } from './types.js'; export declare function readRegistry(): LocalSkillRegistry; export declare function writeRegistry(reg: LocalSkillRegistry): void; export declare function upsertEntry(handle: SkillDaemonHandle, bundle_dir: string): void; export declare function removeEntry(slug: string): void; export declare function findEntry(slug: string): LocalSkillRegistryEntry | null; /** 判断 PID 是否仍在跑(M1 简化:kill 0 探活,失败代表进程已死)*/ export declare function isAlive(pid: number): boolean; /** 清理已死进程条目(启动新 skill 前调用)*/ export declare function pruneDeadEntries(): string[]; //# sourceMappingURL=registry.d.ts.map