import type { ReplCommand } from './repl-main';
export declare const helpCommand: ReplCommand;
export declare function getReplCommands(): Record<string, ReplCommand>;
/**
 * The names of all commands including their aliases (but without the leading `:`)
 */
export declare function getCommandNames(): string[];
/**
 * Get the command for a given command name or alias.
 * @param command - The name of the command (without the leading `:`)
 */
export declare function getCommand(command: string): ReplCommand | undefined;
export declare function asOptionName(argument: string): string;
export declare function longestCommandName(): number;
export declare function padCmd<T>(string: T): string;
