import { RpcClientConfig } from "./interfaces"; import { AgentExtensionStatus, AgentPortValidationResult, AgentSystemInfo, AgentDateInfo, AgentEchoResponse } from "./interfaces"; export declare class RpcClient { private availableExtensions; private tcpClient; private udpClient; private requestId; private isClosing; private reconnectAttempts; private maxReconnectAttempts; private reconnectDelay; private pendingRequests; protected readonly config: RpcClientConfig; protected readonly debug: boolean; constructor(config: RpcClientConfig, debug?: boolean); protected log(...args: unknown[]): void; init(): Promise; close(): Promise; protected initializeTcpClient(): Promise; protected initializeUdpClient(): Promise; private handleUdpResponse; private handleConnectionError; private handleTcpResponse; send(method: string, params: Record): Promise; protected sendTcpRequest(method: string, params: Record): Promise; protected sendUdpRequest(method: string, params: Record): Promise; } export declare class AgentLibrary extends RpcClient { constructor(config: RpcClientConfig, debug?: boolean); getServerInfo(): Promise; listExtensions(): Promise; validatePort(port: number, type: "TCP" | "UDP"): Promise; echo(message: string): Promise; getCurrentDate(): Promise; }