import type { ExactPackage, LatestPackageTarget, PackageConfig } from '../install/package.js'; import type { Install } from '../generator.js'; import type { ProviderContext } from './index.js'; export declare function resolveBuiltin(specifier: string, env: string[]): string | Install | undefined; export declare function pkgToUrl(pkg: ExactPackage): Promise<`${string}/`>; export declare function getPackageConfig(this: ProviderContext, pkgUrl: string): Promise; export declare function parseUrlPkg(url: string): { pkg: ExactPackage; subpath: `./${string}` | null; layer: string; } | undefined; export declare function resolveLatestTarget(this: ProviderContext, target: LatestPackageTarget, _layer: string, parentUrl: string): Promise;