/**
 * CLI Runner
 *
 * Main entry point for command execution.
 */
import type { Command } from './types.js';
/**
 * Registers a command
 */
export declare function registerCommand(command: Command): void;
/**
 * Registers a command alias
 */
export declare function registerAlias(alias: string, commandName: string): void;
/**
 * Gets a registered command (checking aliases first)
 */
export declare function getCommand(name: string): Command | undefined;
/**
 * Gets all registered commands
 */
export declare function getAllCommands(): Command[];
/**
 * Gets all registered aliases
 */
export declare function getAllAliases(): Map<string, string>;
/**
 * Runs the CLI with the given arguments
 */
export declare function run(argv: string[]): Promise<number>;
/**
 * Main CLI entry point
 */
export declare function main(argv?: string[]): Promise<never>;
//# sourceMappingURL=runner.d.ts.map