type ServerResponse = import('http').ServerResponse; type IncomingMessage = import('http').IncomingMessage; type DescribeFunction = ((name: string, inner: () => void) => void) & {fail(condition: boolean): DescribeFunction}; type ItFunction = ((name: string, inner: (state: STATE) => Promise) => void) & { fail(condition: boolean): ItFunction; skip(condition: boolean): ItFunction; slow(): ItFunction; repeat(n: number): ItFunction; }; interface WorkerState { } interface FixtureState { } declare module '' { module 'expect/build/types' { interface Matchers { toBeGolden(name: string): R; } } } declare const expect: typeof import('expect'); declare const describe: DescribeFunction; declare const fdescribe: DescribeFunction; declare const xdescribe: DescribeFunction; declare const it: ItFunction; declare const fit: ItFunction; declare const dit: ItFunction; declare const xit: ItFunction; declare const beforeEach: (inner: (state: FixtureState & WorkerState) => Promise) => void; declare const afterEach: (inner: (state: FixtureState & WorkerState) => Promise) => void; declare const beforeAll: (inner: (state: WorkerState) => Promise) => void; declare const afterAll: (inner: (state: WorkerState) => Promise) => void; declare const registerFixture: (name: T, inner: (state: FixtureState & WorkerState, test: (arg: FixtureState[T]) => Promise) => Promise) => void; declare const registerWorkerFixture: (name: T, inner: (state: WorkerState, test: (arg: WorkerState[T]) => Promise) => Promise) => void; declare const browserType: import('../index').BrowserType; // global variables in assets declare const testOptions: { FFOX: boolean; WEBKIT: boolean; CHROMIUM: boolean; MAC: boolean; LINUX: boolean; WIN: boolean; HEADLESS: boolean; WIRE: boolean; ASSETS_DIR: string; }; declare const testPath : string; // keyboard.html declare function getResult(): string;