import type { Logger } from '@ariestools/sdk'; import type { SystemStatusPublisher, SystemStatusRunner } from '@xyo-network/xl1-protocol/protocol-lib'; /** Options for the console system-status publisher. */ export interface ConsoleSystemStatusPublisherOptions { /** Logger used by this instance and the providers it creates. */ logger?: Logger; } /** * Publishes system status to the console by subscribing to the Runner's global * status transitions. * * It is a plain start/stop observer — NOT a CreatableProvider — so it never * reports its own lifecycle into the Runner. A self-reporting publisher would * report itself `started` before any real service is up, falsely flipping the * aggregate status to `started` (and any HTTP `/healthz` derived from it to * 200). Being a plain observer keeps the global status reflecting only the * actual services. */ export declare class ConsoleSystemStatusPublisher implements SystemStatusPublisher { /** Moniker implemented by this provider instance. */ readonly moniker: "SystemStatusPublisher"; private _started; private readonly options; private readonly status; /** Creates a console observer for global status transitions. */ constructor(status: SystemStatusRunner, options?: ConsoleSystemStatusPublisherOptions); /** Enables logging and subscribes to subsequent global status transitions. */ start(): void; /** Disables output from the registered transition callback. */ stop(): void; } //# sourceMappingURL=ConsoleSystemStatusPublisher.d.ts.map