import { EventType } from './event'; import { ListenerFunction } from './types'; import { Options } from './types/options'; import { Stats } from './types/stats'; export declare class Suite { private benches; add(name: string, fn: Function): Suite; on(type: EventType, listener: ListenerFunction): Suite; off(type: EventType, listener?: ListenerFunction): Suite; run: (options?: Options) => Promise; toJSON(): { [key: string]: Stats; }; toString(): string; }