import type { ResolvedSkillSource, ResolveSkillSourceContext } from '../types.js'; /** * Split a version-pinned bare specifier into { name, version }. * Throws if no `@version` pin is present — npm sources MUST be version-pinned * for reproducibility (spec §11a). */ export declare function splitNpmSpecVersion(spec: string): { name: string; version: string; }; /** * Resolve a `{ npm }` skill source. * * resolveAssetReference locates the installed package subpath (location only — * NO registry-integrity check). We then content-hash the staged tree and record * version + tree-hash in the identity. This is NOT a registry dist.integrity * guarantee; v1 stages what is installed (spec §11a, stated honestly). * * @param spec Bare specifier WITH a version pin: `@scope/pkg@1.2.3[/subpath]`. */ export declare function resolveNpmSource(spec: string, ctx: ResolveSkillSourceContext): Promise; //# sourceMappingURL=npm-source.d.ts.map