/** * NotificationQueue:subagent 完成通知主 agent(对标 wave-agent NotificationQueue)。 * enqueue → subscribe 回调 + dequeue 拉取。 */ export interface Notification { type: string; sessionId: string; message: string; metadata?: Record; } export type NotificationSubscriber = (notification: Notification) => void; export declare class NotificationQueue { private queue; private subscribers; enqueue(notification: Notification): void; dequeue(): Notification | undefined; subscribe(subscriber: NotificationSubscriber): () => void; size(): number; clear(): void; }