export declare class ProxyClient {
    private readonly remoteUrl;
    private channel;
    private sessionId;
    private ownKeys;
    private peerKeys;
    constructor(remoteUrl: string, keysDir: string, peerKeysDir: string);
    /**
     * Perform the Ed25519/X25519 handshake with the remote server.
     */
    handshake(): Promise<void>;
    /**
     * Make an authenticated tool call to the remote server.
     * Auto-handshakes on first call and re-handshakes on 401.
     */
    callTool(toolName: string, toolInput?: Record<string, unknown>): Promise<unknown>;
    /**
     * Check if the client has an active encrypted session.
     */
    get isConnected(): boolean;
    /**
     * Reset the session (force rehandshake on next call).
     */
    reset(): void;
}
//# sourceMappingURL=proxy-client.d.ts.map