import { IEventEmitter } from "../interfaces/iEventEmitter"; import { EventService } from "../eventService"; import { GridOptionsWrapper } from "../gridOptionsWrapper"; import { AgEvent } from "../events"; import { Context } from "./context"; import { IFrameworkOverrides } from "../interfaces/iFrameworkOverrides"; import { Component } from "../widgets/component"; export declare class BeanStub implements IEventEmitter { static EVENT_DESTROYED: string; protected localEventService: EventService; private destroyFunctions; private destroyed; private frameworkOverrides; protected context: Context; protected eventService: EventService; protected getFrameworkOverrides(): IFrameworkOverrides; getContext: () => Context; protected destroy(): void; addEventListener(eventType: string, listener: Function): void; removeEventListener(eventType: string, listener: Function): void; dispatchEventAsync(event: AgEvent): void; dispatchEvent(event: T): void; addManagedListener(object: Window | HTMLElement | GridOptionsWrapper | IEventEmitter, event: string, listener: (event?: any) => void): (() => null) | undefined; isAlive: () => boolean; addDestroyFunc(func: () => void): void; createManagedBean(bean: T, context?: Context): T; protected createBean(bean: T, context?: Context, afterPreCreateCallback?: (comp: Component) => void): T; protected destroyBean(bean: T, context?: Context): T; protected destroyBeans(beans: T[], context?: Context): T[]; }