import { AgentConfig } from '../config-process/config'; import { AgentInstanceData } from '../agent-instance-data'; import { IToolInfo, AgentEventCode, ITagInfo } from './agent-events-contracts'; import { IBackendProxy } from '../http/backend-proxy-interface'; import { IColorContextManager, Logger } from '../contracts'; export type ICockpitNotifierPiggyback = Pick; /** * A class with static methods for sending notification to cockpit. * Using this class enables to avoid passing instance of AgentEventsController for each class */ export declare class CockpitNotifier { private static controller; private static isDryRunMode; static notifyStart(agentConfig: AgentConfig, agentInstanceData: AgentInstanceData, logger: Logger, getSystemOffset: () => number, backendProxy: IBackendProxy, packageJsonFile?: Record, tool?: IToolInfo, tags?: ITagInfo[], colorContextManager?: IColorContextManager): Promise; static notifyStartNoOp(agentConfig: AgentConfig, agentInstanceData: AgentInstanceData, logger: Logger, getSystemOffset: () => number, backendProxy?: IBackendProxy, _packageJsonFile?: Record, tool?: IToolInfo, tags?: ITagInfo[]): Promise; static notifyShutdown(): Promise; static sendGenericMessage(message: string): void; static sendWarning(message: string): void; static sendError(message: string): void; static sendErrorsBatch(messages: string[]): void; static sendEvent(code: AgentEventCode, data?: string | object): void; static sendEventOnce(code: AgentEventCode): void; private static verifyControllerInitialized; static reset(): void; static setDryRunMode(logger: Logger, proxy: IBackendProxy): void; }