interface RunnerConstructor { new (enableStdOut?: boolean, forwardParentArgs?: boolean): RunnerInterface; } export interface RunnerInterface { setup(rootDir: string, setupFiles?: string[], options?: { create?: boolean }): Promise; runCommand(binPath: string, args?: string | string[], options?: { onStdOut: (message:string) => void }): Promise; stopCommand(): Promise; teardown(additionalFiles?: string[]): Promise; } declare module "gallinago" { export const Runner: RunnerConstructor; }