import { ITestBlock, TestSuiteMethods } from 'suman-types/dts/test-suite'; import { ITestDataObj } from 'suman-types/dts/it'; import { IBeforeObj } from 'suman-types/dts/before'; import { IBeforeEachObj } from 'suman-types/dts/before-each'; import { IAfterObj } from 'suman-types/dts/after'; import { IAFterEachObj } from 'suman-types/dts/after-each'; import { makeStartSuite } from './make-start-suite'; import { VamootProxy } from 'vamoot'; import { ISuman } from "../suman"; import { EVCb } from 'suman-types/dts/general'; export interface ISumanSymbols { [key: string]: symbol; } export declare const TestBlockSymbols: ISumanSymbols; export interface IInjectedValues { [key: string]: any; } export type TestSuiteGetterFn = () => Array; export interface TestBlockOpts { parallel: boolean; mode: 'series' | 'serial' | 'parallel'; fixed: boolean; skip: boolean; only: boolean; series: boolean; serial: boolean; } export interface ITestBlockOpts { isTopLevel?: boolean; desc: string; title?: string; opts: TestBlockOpts; suman: ISuman; gracefulExit: any; handleBeforesAndAfters: any; notifyParent: any; } export declare class TestBlock implements ITestBlock { alreadyHandledAfterAllParentHooks: boolean; isDelayed: boolean; limit: number; supply: object; opts: TestBlockOpts; testId: number; isRootSuite?: boolean; childCompletionCount: number; allChildBlocksCompleted: boolean; isSetupComplete: boolean; parallel: boolean; skipped: boolean; fixed: boolean; only: boolean; filename: string; shared: VamootProxy; skippedDueToOnly: boolean; completedChildrenMap: Map; private __suiteSuman; desc: string; title: string; _run?: (val: any, cb: EVCb) => void; __resume: (val: any) => void; bIsFirstArg: boolean; __supply: object; __startSuite: ReturnType; ioc: IInjectedValues; skippedDueToDescribeOnly?: boolean; interface: string; injectedValues: IInjectedValues; parent: TestBlock; getTestsParallel: Array; getLoopTests: Array; getResumeValue?: Function; fatal?: Function; testBlockMethodCache: Object; constructor(obj: ITestBlockOpts); getInjections(): IInjectedValues; getChildren(): Array; getTests(): Array; getParallelTests(): Array; getBefores(): Array; getBeforeBlocks(): Array; getBeforesFirst(): Array; getBeforesLast(): Array; getBeforeEaches(): Array; getAftersFirst(): Array; getAftersLast(): Array; getAfters(): Array; getAfterBlocks(): Array; getAfterEaches(): Array; getAfterAllParentHooks(): any; getAfterBlockList(): Array; getBeforeBlockList(): any[]; resume(): void; toString(): string; invokeChildren(val: any, start: EVCb): void; bindExtras(): this; private mergeBefores; private mergeAfters; getHooks(): TestSuiteMethods; set(k: any, v: any): boolean; get(k?: any): any; getValues(mandatory: string, ...args: Array): Array; getMap(...args: Array): object; getInjectedValue(key: string): any; getInjectedValues(...args: string[]): Array; getInjectedMap(...args: string[]): object; getSourced(): any; getSourcedValue(v: string): any; getSourcedValues(...args: string[]): Array; getSourcedMap(...args: string[]): object; }