/** * @template T * @typedef {import("./options/index.js").Opt} Opt */ /** * @template {{[arg: string]: Opt}} O * @template {{[name: string]: Command}} S * @typedef {import("./Command.js").CommandConfig} CommandConfig */ /** * @template {{[arg: string]: Opt}} O * @template {{[name: string]: Command}} S */ export class Cli; }, S extends { [name: string]: Command; }> { /** * @param {string} name * @param {CommandConfig} config */ constructor(name: string, config: CommandConfig); /** * @readonly * @type {string} */ readonly name: string; /** * @readonly * @type {Command} */ readonly entryPoint: Command; /** * @type {string} */ get help(): string; /** * @type {string} */ get version(): string; /** * @param {string[]} rawArgs * @returns {Promise} */ run(rawArgs?: string[]): Promise; } export type Opt = import("./options/index.js").Opt; export type CommandConfig; }, S extends { [name: string]: Command; }> = import("./Command.js").CommandConfig; import { Command } from "./Command.js"; //# sourceMappingURL=Cli.d.ts.map