import { EventEmitter } from 'events';
import type { IpcMessage } from './types.js';
export declare class BridgeClient extends EventEmitter {
    private socket;
    private socketPath;
    private buffer;
    private pendingRequests;
    constructor(socketPath: string);
    connect(): Promise<void>;
    private setupSocket;
    private handleMessage;
    request(method: string, params?: unknown): Promise<unknown>;
    send(message: IpcMessage): void;
    sendAuthCredentials(credentials: {
        serverUrl: string;
        profileName: string;
        refreshToken?: string;
        headers?: Record<string, string>;
    }): void;
    close(): Promise<void>;
    private cleanup;
}
//# sourceMappingURL=bridge-client.d.ts.map