import type { Entity, EntitySendableAction } from '../../../entity/entity.js'; import { EntityAction } from '../../../entity/index.js'; import { EntityActionInspector } from './actionInspector.js'; import { EntityActionStub } from './actionStub.js'; import { $mocks, $sentActions } from './constants.js'; export declare class EntitySpy extends EntityAction { static actionName: 'spy'; [$mocks]: Record any>; [$sentActions]: Record; constructor(entity: ENTITY); reset(): EntitySpy; on = EntitySendableAction>(Action: new (entity: ENTITY) => ACTION): EntityActionStub; sent = EntitySendableAction>(Action: new (entity: ENTITY) => ACTION): EntityActionInspector; restore(): void; }