import { Logger } from '@proof-ui/logger'; import { TestConfig, TestCallback } from '@proof-ui/test'; import { SyncHook, SyncWaterfallHook } from 'tapable'; export interface FoundTest { config: TestConfig; callback: TestCallback; file: string; } export default class Runner { hooks: { files: SyncHook; tests: SyncWaterfallHook; }; private readonly glob; private readonly includeMatcher; private readonly excludeMatcher; private readonly tag?; private readonly logger; constructor(options: { glob: string; include?: string; exclude?: string; tag?: string; logger?: Logger; }); shouldSkip(config: TestConfig): boolean; findTests(): Promise; }