import yargs from './parser.mjs'; /** Bundled-in `yargs-parser` */ export declare const yargsParser: yargs.Parser; /** * Wrap around the `main` process of a CLI. * * This function must be invoked with a script URL (the `import.meta.url` * variable of the script being executed or the path to the script as exposed by * once the proper environment for TypeScript has been set up. * * The callback _might_ return a promise (can be asynchronous) which will be * awaited for potential rejections. */ export declare function main(scriptUrlOrPath: string, callback: (args: string[]) => void | Promise): void;