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) and a callback, which will be invoked
 * once the proper environment for TypeScript has been setup.
 *
 * The callback _might_ return a promise (can be asynchronous) which will be
 * awaited for potential rejections.
 */
export declare function main(scriptUrl: string, callback: (args: string[]) => void | Promise<void>): void;
