import { Spec } from '@hayspec/spec';
export interface RunnerResult {
    file: string;
    spec: Spec;
}
export interface RunnerOptions {
    cwd?: string;
    deep?: number;
    dot?: boolean;
}
export declare class Runner {
    protected options: RunnerOptions;
    protected onlyEnabled: boolean;
    results: RunnerResult[];
    constructor(options?: RunnerOptions);
    require(...patterns: string[]): Promise<void>;
    clear(): this;
    protected loadSpec(file: string): {
        file: string;
        spec: any;
    };
}
