1 | import commander from "commander";
|
2 | import type { LogOutput } from "./clilogger";
|
3 | interface ResolveConfigOptions {
|
4 | config?: string;
|
5 | cwd?: string;
|
6 | }
|
7 | export declare function resolveConfig({ config, cwd }?: ResolveConfigOptions): {
|
8 | opts: commander.OptionValues;
|
9 | program: commander.Command;
|
10 | } | null;
|
11 | declare function main(argv: string[], stdout: LogOutput, stderr: LogOutput, exit: (exitCode: number) => void): Promise<void>;
|
12 | export { main as cli };
|