export type OriginSource = "platform" | "anthropic-registry" | "local"; export type OriginProvider = "vskill" | "anthropic" | "local"; export interface OriginEnvelope { source: OriginSource; owner: string | null; repo: string | null; provider: OriginProvider; trackedForUpdates: boolean; /** Lockfile dir that produced the hit (for debugging). */ lockfilePath?: string; /** Frontmatter source string when Tier 3 hits (debug). */ frontmatterSource?: string; /** Registry key when Tier 4 hits (debug). */ registryMatch?: string; } /** * Well-known Anthropic-shipped skills. Mapped to their canonical * `anthropics/skills/` upstream (the verified-skill.com URL pattern * for skills published from the `anthropics/skills` GitHub repo) so the * Versions tab can fetch upstream history even when the skill arrived * without a vskill lockfile entry. * * Verified live (2026-05-01): `https://verified-skill.com/api/v1/skills/anthropics/skills/pptx/versions` * returns `{ versions, count, unversioned, currentVersion }` JSON. The * `anthropic-skills/` pattern (with hyphen) returns 404. * * Maintained as a hand-curated list. Add new names as Anthropic ships them. */ export declare const ANTHROPIC_SKILL_REGISTRY: Record; /** Test-only: clear the in-process cache between cases. */ export declare function resetOriginResolverCache(): void; /** * Resolve a skill's full provenance envelope. * * @param skill — bare skill slug (e.g. "slack-messaging") * @param plugin — the plugin/agent dir the skill is mounted under (e.g. ".claude") * @param root — the studio process cwd (project root) */ export declare function resolveSkillOrigin(skill: string, plugin: string | null, root: string): Promise;