export interface SkillDirEntry { /** Absolute path to the skill directory the scanner emitted. */ dir: string; /** * Optional editable upstream source path (marketplace clone for plugin-cache * installs). Stored for future use by routes that prefer the editable copy. */ sourcePath?: string | null; /** Origin classification, mostly informational. */ origin?: "source" | "installed"; } /** Replace any existing entry for (plugin, skill). */ export declare function setSkillDirEntry(plugin: string, skill: string, entry: SkillDirEntry): void; /** Look up an entry. Returns undefined when nothing is registered. */ export declare function getSkillDirEntry(plugin: string, skill: string): SkillDirEntry | undefined; /** Clear the registry — used in tests. */ export declare function clearSkillDirRegistry(): void; export declare function ensurePluginCacheEntry(plugin: string, skill: string): Promise; /** Test-only: reset the scan throttle so unit tests don't see stale state. */ export declare function resetEnsureScanThrottle(): void;