import { oAddress } from '../../../router/o-address.js'; import { oNotificationEvent } from './o-notification-event.js'; /** * Emitted when a child node joins the hierarchy (registers with parent) */ export declare class ChildJoinedEvent extends oNotificationEvent { readonly childAddress: oAddress; readonly parentAddress: oAddress; constructor(config: { source: oAddress; childAddress: oAddress; parentAddress: oAddress; }); protected getEventData(): Record; } /** * Emitted when a child node leaves the hierarchy (unregisters or disconnects) */ export declare class ChildLeftEvent extends oNotificationEvent { readonly childAddress: oAddress; readonly parentAddress: oAddress; readonly reason?: string; constructor(config: { source: oAddress; childAddress: oAddress; parentAddress: oAddress; reason?: string; }); protected getEventData(): Record; } /** * Emitted when a parent connection is established */ export declare class ParentConnectedEvent extends oNotificationEvent { readonly parentAddress: oAddress; constructor(config: { source: oAddress; parentAddress: oAddress; }); protected getEventData(): Record; } /** * Emitted when a parent connection is lost */ export declare class ParentDisconnectedEvent extends oNotificationEvent { readonly parentAddress: oAddress; readonly reason?: string; constructor(config: { source: oAddress; parentAddress: oAddress; reason?: string; }); protected getEventData(): Record; } /** * Emitted when connection to leader is lost (CRITICAL) * This is a catastrophic failure - node cannot function without leader */ export declare class LeaderDisconnectedEvent extends oNotificationEvent { readonly leaderAddress: oAddress; readonly reason?: string; constructor(config: { source: oAddress; leaderAddress: oAddress; reason?: string; }); protected getEventData(): Record; } //# sourceMappingURL=hierarchy-events.d.ts.map