export type EarlyArg = "help" | "version" | "start"; /** Classify `--help`/`-h` and `--version`/`-V` ahead of every other flag. */ export declare function handleEarlyArgs(argv: string[]): EarlyArg; /** * The package version for a bin entry two directories below the package root * — `src//index.ts` and its bundled `dist//index.js` alike. Pass the * entry's own `import.meta.url` so the lookup survives bundling. */ export declare function readPackageVersion(entryUrl: string): string;