type Arrayable = T[] | T; export interface Suite { /** The relative file path */ name: string; /** The absolute file path */ file: string; } export interface Options { cwd: string; require: Arrayable; ignore: Arrayable; } export interface Argv { dir: string; suites: Suite[]; requires: boolean; } export function parse(dir?: string, pattern?: string|RegExp, opts?: Partial): Promise;