export interface Result { didPass: boolean; details: string; } /** * Little helper gives the user some instructions to * walk through interactively, then prompts the * user whether it went ok or not, and if not - asks * for a one line explanation. * * @param instructions * @return Promise */ export declare function interactive(instructions: string): Promise; /** * Little helper to detect if the test is running in interactive mode * (process.env[LITTLE_INTERACTIVE] === "false") */ export declare function isInteractive(): boolean; /** * Little helper passes through the given lambda and * timeout if the LITTLE_INTERACTIVE environment variable * is not false, otherwise returns a lambda with a do-nothing * body, so interactive tests can be disabled in non-interactive * environments * * return [lambda, timeoutMs?] */ export declare function ifInteractive(lambda: Function, timeoutMs: number): [Function, number];