import type { Command, CommandMethods, Message, MessageTypes, Notification, UnknownCommandResponse } from '../../types/index.ts'; import { type ConnectionSenderConstructor, OpenConnectionSender } from '../sender.ts'; /** * @remarks * The TCP implementation has a known limitation where large command * responses can be lost and the awaiting promise will never resolve. * Unless TCP is explicitly required, prefer using {@link WebSocketSender} */ export declare class TCPSender extends OpenConnectionSender { private readonly throttler; private readonly connectionHandle; constructor(options: ConstructorParameters[0]); sendNotification(notification: Notification): Promise; sendMessage(message: Message): Promise; sendCommand(command: Command): Promise; sendCommandResponse(response: UnknownCommandResponse): Promise; close(): Promise; static login: { (bot: string | import("../../index.ts").Identity, accessKey: string, tenantId?: string): TCPSender; (token: string, tenantId?: string): TCPSender; }; private withRetryPolicy; } //# sourceMappingURL=tcpsender.d.ts.map