declare interface ExecResult { stdout: string; stderr: string; } export type CommandParams = { baseDir?: string; description?: string; env?: NodeJS.ProcessEnv; expectedErrorMessage?: string | string[]; expectedOutput?: string | string[] | NumberedTextOccurences; notExpectedOutput?: string | string[]; }; export type NumberedTextOccurences = { expectedText: string; exactlyTimes: number; }; export type OutputAssertion = string | string[]; /** * Execute given commandline command */ export declare function execCommand(cliCommand: string, params?: CommandParams): Promise; export {};