import { AnyServiceEventEmitter, AnyServiceEventListener, AnyServiceEventSubscriber, ServiceEventEmitter, ServiceEventSubscriber } from '../../core';
export declare class LocalServiceEventEmitter implements AnyServiceEventEmitter {
    private _subscriber;
    static create<T>(): ServiceEventEmitter<T>;
    subscriber<T>(): ServiceEventSubscriber<T>;
    constructor();
    emit(name: string, data: unknown): Promise<void>;
}
export declare class LocalServiceEventSubscriber implements AnyServiceEventSubscriber {
    private listeners;
    dispatch(name: string, data: unknown): void;
    on(name: string, listener: AnyServiceEventListener): void;
}
//# sourceMappingURL=event.d.ts.map