import { DVCFeatureSet, DVCVariableSet } from './types'; import { DVCVariable } from './Variable'; type EventHandler = (...args: any[]) => void; export declare class EventEmitter { handlers: Record; constructor(); subscribe(key: string, handler: EventHandler): void; unsubscribe(key: string, handler?: EventHandler): void; emit(key: string, ...args: any[]): void; emitInitialized(success: boolean): void; emitError(error: unknown): void; emitConfigUpdate(newVariableSet: DVCVariableSet): void; emitVariableEvaluated(variable: DVCVariable): void; emitVariableUpdates(oldVariableSet: DVCVariableSet, newVariableSet: DVCVariableSet, variableDefaultMap: { [key: string]: { [defaultValue: string]: DVCVariable; }; }): void; emitFeatureUpdates(oldFeatureSet: DVCFeatureSet, newFeatureSet: DVCFeatureSet): void; } export {};