export interface Shebang { /** Program that runs the file, e.g. `node` or `tsx`. */ interpreter: string; /** Arguments that follow the interpreter on the shebang line. */ args: string[]; } /** The shebang line of a header from `readShebangHeaders`, without `#!`. */ export declare function getShebangLine(header: string): string; /** * Handles `/usr/bin/env node`, `/usr/bin/env -S node --flags`, * `/usr/bin/env -S npx tsx` and direct paths such as `/usr/local/bin/node`. */ export declare function parseShebang(line: string): Shebang | null;