import { AssertionAPI } from './assertions'; import { ErrorObject } from 'serialize-error'; export type TestResults = { description: string; assertions: Assertion[]; error?: ErrorObject; }; export type Assertion = { pass: boolean; description: string; diagnostic?: string; stack?: string; }; export declare function test(description: string, experiment: (assert: AssertionAPI) => void): Promise;