import type { AcceptMessageResult, IdentityQuery, IdentityRecord, MemoryQuery, MemoryRecord, RecoveryResult } from "../storage/types.js"; import type { AcceptBrokerMessageInput, BrokerBootstrap, BrokerDependencies, BrokerHealth, CancelTurnFromBindingInput, CancelTurnOutcome, CompactContextFromBindingInput, ResetContextFromBindingInput, SupervisionStatusQuery, CorrelationWaitResult, CorrelationReadResult, ReadCorrelationInput, SteerSubjectInput, SteerSubjectResult, WatchSubjectInput, WatchSubjectResult, RememberIdentityFromBindingInput, RememberMemoryFromBindingInput, RetractRecordFromBindingInput, SupersedeIdentityFromBindingInput, SupersedeMemoryFromBindingInput, TurnQueueSnapshot, WaitForCorrelationInput } from "./types.js"; /** * Durable Broker application core. HTTP, MCP, process startup, and SQLite * ownership are composed outside this class. */ export declare class GroupXBroker { #private; constructor(dependencies: BrokerDependencies); acceptMessage(input: AcceptBrokerMessageInput): Promise; contextUsage(roomId?: string): import("../memory/types.js").RoomContextUsage; compactContextFromBinding(input: CompactContextFromBindingInput): Promise; resetContextFromBinding(input: ResetContextFromBindingInput): Promise; supervisionStatus(input: SupervisionStatusQuery): { pairId: string; correlationId: string; mode: "live_steer"; workers: import("../core/supervision.js").SupervisionSnapshot[]; observers: Array<{ actorId: string; turnId: string; status: string; }>; }; cancelTurn(turnId: string): Promise; cancelFromBinding(input: CancelTurnFromBindingInput): Promise; readCorrelation(input?: ReadCorrelationInput): CorrelationReadResult; waitForCorrelation(input: WaitForCorrelationInput): Promise; inspectTurnQueue(turnId: string): TurnQueueSnapshot; recoverAfterRestart(): Promise; notifySessionReady(actorId: string): void; restartAgent(actorId: string): Promise; health(): BrokerHealth; bootstrap(input?: { roomId?: string; recentLimit?: number; }): BrokerBootstrap; queryMemory(input?: MemoryQuery): MemoryRecord[]; queryIdentity(input?: IdentityQuery): IdentityRecord[]; rememberMemory(input: RememberMemoryFromBindingInput): Promise; supersedeMemory(memoryId: string, input: SupersedeMemoryFromBindingInput): Promise; retractMemory(memoryId: string, input: RetractRecordFromBindingInput): Promise; rememberIdentity(input: RememberIdentityFromBindingInput): Promise; supersedeIdentity(identityId: string, input: SupersedeIdentityFromBindingInput): Promise; retractIdentity(identityId: string, input: RetractRecordFromBindingInput): Promise; waitForIdle(): Promise; close(): Promise; assertObserverRouting(watchTurnId: string, targets: readonly string[]): void; watchSubject(input: WatchSubjectInput): Promise; steerSubject(input: SteerSubjectInput): Promise; } //# sourceMappingURL=broker.d.ts.map