import { SpyFactoryFn } from '../types'; import { DeclarativeTestState } from './types'; export declare class NgtxTestEnv { private spyFactory; private testState; get isAssertionNegated(): boolean | undefined; getState(): { negateAssertion?: boolean; predicate: (() => void)[]; assertion: (() => void)[]; spyRegistry: import("./types").SpyRegisterEntry[]; }; /** * Takes a test state and adds its contents to the current internal test-state. * Be aware: It will override the internal test state's `negateAssertion` property, though. */ importState(state: DeclarativeTestState): void; constructor(spyFactory: SpyFactoryFn); spyOn: (host: () => T, methodName: keyof T | "ngtx:spyEvent", returnValue?: any) => any; executeTest(): void; addAssertion: (fn: () => void) => void; addPredicate: (fn: () => void) => void; /** Takes a test state and uses it to override the internal test state. */ overrideState: (newState: Partial) => void; negateAssertion: () => void; private tryPlaceSpies; }