import { type Packument } from '@gjsify/npm-registry';
import type { InstallOptions } from './install-backend.ts';
interface ParsedSpec {
    name: string;
    range: string;
}
export interface InstalledTopLevel {
    name: string;
    version: string;
}
export declare function installPackagesNative(opts: InstallOptions): Promise<InstalledTopLevel[]>;
export declare function parseSpec(raw: string): ParsedSpec;
export declare function pickVersion(packument: Packument, range: string): string | null;
export {};
