import { CallBackFunction } from '../IUseCase'; import { ISubscribable } from './ISubscribable'; export interface Registry { unregister: () => void; } export interface Callable { [key: string]: CallBackFunction; } export interface EventSubscriber { [key: string]: Callable; } type DictionaryType = Dictionary>; export declare class SubscriptionPerformer implements ISubscribable { protected readonly onEventByTypeSubscribers: Dictionary>; static readonly DEFAULT_SUBSCRIPTION_NAME = "DEFAULT"; protected readonly subscribers: DictionaryType; protected EVENT_NAME: string; protected EVENT_TYPE: string; release(): void; constructor(); subscribe(callBack: CallBackFunction, typeEvent?: string, nameEvent?: string): void; informSubscribers(arg?: TArg, eventType?: string, event?: string): void; } export {}; //# sourceMappingURL=SubscriptionPerformer.d.ts.map