import type { ServerInfo } from 'cody-ai/src/jsonrpc/agent-protocol';
import { type MessageConnection } from 'vscode-jsonrpc/browser';
export interface AgentClient {
    serverInfo: ServerInfo;
    rpc: MessageConnection;
    dispose(): void;
}
interface AgentClientOptions {
    serverEndpoint: string;
    accessToken: string;
    workspaceRootUri: string;
    telemetryClientName?: string;
    customHeaders?: Record<string, string>;
    debug?: boolean;
    trace?: boolean;
}
export declare function createAgentClient({ serverEndpoint, accessToken, workspaceRootUri, customHeaders, telemetryClientName, debug, trace, }: AgentClientOptions): Promise<AgentClient>;
export {};
//# sourceMappingURL=agent.client.d.ts.map