import inquirer, { Questions, Answers } from 'inquirer'; /** * Log something! * * @param msg the message to log * @returns nothing */ export declare function log(msg: string): void; export declare namespace log { var info: (msg: string) => void; var success: (msg: string) => void; var warning: (msg: string) => void; var error: (msg: string) => void; var indent: (msg: string, indent?: string | undefined) => void; } /** * Prompt the user with some questions. * * @param questions questions to answer * @returns the answers */ export declare function prompt(questions: Questions): Promise; export declare namespace prompt { var separator: (val?: string | undefined) => inquirer.objects.Separator; var headline: (val: string) => inquirer.objects.Separator; } /** * Get commands dir. Useful if you want laborious' commands into your `yargs` app. * * @returns path to command directory */ export declare const getCommandsDir: () => string;