/// <reference types="gulp" />
import { Gulp } from "gulp";
import { AbsPosixPath } from "../types";
import { TaskFunction } from "../utils/gulp-task-function";
export declare type MochaReporter = "spec";
export interface MochaOptions {
    rootDir: AbsPosixPath;
    testDir: AbsPosixPath;
    reporter?: MochaReporter;
    /**
     * Test `.spec.mjs` files instead of `.spec.js` (mixed is not supported)
     * Default: `false`
     */
    mjs?: boolean;
    colors?: boolean;
}
export interface ResolvedMochaOptions {
    rootDir: AbsPosixPath;
    testDir: AbsPosixPath;
    reporter: MochaReporter;
    mjs: boolean;
    colors: boolean;
}
export declare function resolveMochaOptions(options: MochaOptions): ResolvedMochaOptions;
export declare function generateTask(gulp: Gulp, options: MochaOptions): TaskFunction;
export declare function getTaskName(): string;
