/** * Pure log-line builders for the Feishu WebSocket connection lifecycle. * * `createFeishuTransport` wires the SDK's connection callbacks to these, so a * dropped or failed connection is always surfaced on the host's stderr instead * of disappearing into the SDK's reconnect loop. The wording lives here — pure * and free of any SDK dependency — so it is unit-testable. Ported verbatim from * claudemux. */ /** The connection dropped and the SDK has begun a reconnect cycle. */ export declare function reconnectingLogLine(): string; /** The reconnect cycle restored the connection. */ export declare function reconnectedLogLine(): string; /** * The SDK reported a connection error and stopped — a non-recoverable error, * or an exhausted retry budget. The channel needs a restart to reconnect. */ export declare function connectionErrorLogLine(err: unknown): string; /** * The initial connection never came up within the startup grace window. * `sdkGaveUp` is true when the SDK has already stopped retrying on its own, * false when it is still looping and the channel is the one stopping it. */ export declare function startupTimeoutLogLine(graceMs: number, sdkGaveUp: boolean): string; //# sourceMappingURL=connection.d.ts.map