import { CommandInstance, ModifiedOptionMetadata, ModifiedParamMetadata } from '../command/command-instance'; /** * @internal * * Indents a string depth number of times * * @param text the string to be indented * @param depth the number of times to indent the string */ export declare function indent(depth?: number, str?: string): string; /** * * @param name the command-line name of the CLI * @param command an instance of one command * */ export declare function generateCommandUsage(name: string, command: CommandInstance): string; /** * Generate pretty parameter design from param metadata. * * Required params will be red, and angle-bracketed, for example, * Optional params will be blue and square-bracketed, for example, [env] * @param params an array of params in the command */ export declare function generateParamsColor(params?: ModifiedParamMetadata[]): string; /** * Generate the documentation for each param * @param params the parameters from the map * @param types the param types from the map */ export declare function generateParamDocs(params: ModifiedParamMetadata[], types: any[]): string; export declare function paramType(types: Array<{ name: string; }>, index: number): string; /** * Generate option output for help * @param options the options from the command map */ export declare function generateOptionDocs(options: { [prop: string]: ModifiedOptionMetadata; }): string;