/**
 * Resolves npm package versions at generation time.
 *
 * When a template specifies "latest" for a package, we fetch the actual
 * current version from the npm registry and pin it exactly, so generated
 * projects don't silently drift over time.
 */
export declare function resolveNpmVersion(pkg: string): Promise<string | null>;
/**
 * Walk a deps object and resolve any "latest" values to pinned versions.
 * Non-"latest" values are left untouched.
 */
export declare function resolveLatestVersions(deps: Record<string, string>): Promise<Record<string, string>>;
/**
 * Resolve all "latest" version specifiers in a package.json object's
 * dependencies and devDependencies in-place, returning a new object.
 */
export declare function resolvePackageJSONLatest(packageJSON: Record<string, any>): Promise<Record<string, any>>;
