import { PrimariaGlobalStateManager } from '../global-state/global-state';
export declare const LAST_WORKED_DIAGNOSTICS_KEY = "lastWorkedDiagnostics";
export declare abstract class EcapEventManager {
    /**
     * Publish an Ecap event.
     * @param eventType - Event type.
     * @param accio - Action.
     * @param payload - Additional payload properties.
     */
    abstract publish(eventType: string, accio: string, payload?: Record<string, unknown>): void;
}
declare class EcapEventManagerImpl implements EcapEventManager {
    private globalStateManager;
    constructor(globalStateManager: PrimariaGlobalStateManager);
    publish(eventType: string, accio: string, payload?: Record<string, unknown>): void;
    private createEcapEvent;
    private raiseEcapEvent;
}
export declare const createEcapEventManager: (globalStateManager: PrimariaGlobalStateManager) => EcapEventManagerImpl;
export {};
