import { type GatewayMessageDebugReply } from "../gateway/message-debug-contracts.js"; import type { MessageDebugEntry, MessageDebugClearReceipt } from "../gateway/message-debug-types.js"; export declare class ControlMessageDebugError extends Error { readonly httpStatus: number; readonly outcome: "rejected" | "unknown"; constructor(httpStatus: number, outcome: "rejected" | "unknown"); } export interface ControlMessageDebugServiceOptions { currentInstance(): string | undefined; forward(instanceId: string, action: "history" | "clear"): Promise; } /** 所有客户端共用当前网关绑定;没有实例时不转到旧 App 或读取旧缓存。 */ export declare class ControlMessageDebugService { private readonly options; private closed; private active; constructor(options: ControlMessageDebugServiceOptions); history(): Promise<{ gatewayInstanceId: string; entries: MessageDebugEntry[]; }>; clear(input: unknown): Promise; close(): void; private current; private request; } //# sourceMappingURL=message-debug-service.d.ts.map