import { Assertion } from '4.5' ; export type Test = { name : string ; timeout : number ; showStatus : boolean ; run ( ) : Promise < Assertion < any > > ; } ; export type TestFn = ( ( ) => Assertion < any > ) | ( ( ) => Promise < Assertion < any > > ) | ( ( ) => Observable < Assertion < any > > ) ; export interface TestResult { failures : number ; message : string ; } export type Observable < A > = { subscribe ( observer ) : Subscription ; } ; export type Observer < A > = { next ( value ) : any ; error ( err ) : any ; complete ( ) : any ; } ; export type Subscription = { unsubscribe ( ) : any ; } ;