import type { CreatableName, CreatableStatus } from '@ariestools/sdk';
import type { SystemReadyState, SystemStatusGlobalTransitionMatch, SystemStatusRunner, SystemStatusSnapshot, SystemStatusTransitionListener, SystemStatusTransitionMatch } from '@xyo-network/xl1-protocol/protocol-lib';
import { LoggerStatusReporter } from './ServiceStatus.js';
/**
 * The process-wide status hub. Replaces the former `RuntimeStatusMonitor`:
 * it collects lifecycle reports (`report`) and readiness reports
 * (`reportReady`) from every actor/provider, computes the global status,
 * fires transition callbacks, and answers readiness / snapshot queries.
 *
 * It is a plain class (not a `CreatableProvider`) because it must be
 * constructed before the provider locator exists — it is wired into the
 * context as `statusReporter` so `AbstractCreatable` can report into it.
 */
export declare class SimpleSystemStatusRunner extends LoggerStatusReporter implements SystemStatusRunner {
    readonly moniker: "SystemStatusRunner";
    private globalTransitions;
    private progressMap;
    private readinessMap;
    private reportErrorMap;
    private shuttingDown;
    private transitions;
    private updatedAtMap;
    getGlobalStatus(): CreatableStatus;
    getStatus(name: CreatableName): CreatableStatus | undefined;
    isReady(): boolean;
    isShuttingDown(): boolean;
    onGlobalTransition(match: SystemStatusGlobalTransitionMatch, handler: SystemStatusTransitionListener): void;
    onTransition(match: SystemStatusTransitionMatch, handler: SystemStatusTransitionListener): void;
    report(name: CreatableName, status: CreatableStatus, progress?: Error | number): void;
    reportReady(name: CreatableName, readiness: SystemReadyState, error?: Error | string): void;
    setShuttingDown(shuttingDown: boolean): void;
    snapshot(): SystemStatusSnapshot;
    private runTransitions;
}
//# sourceMappingURL=SimpleSystemStatusRunner.d.ts.map