import type { RPCClientConfiguration, RPCClientOptions, RPCProtocol } from '@cspell/rpc';
import { RPCClient } from '@cspell/rpc';
import type { CSpellRPCApi } from './api.js';
export type { MessagePortLike } from '@cspell/rpc';
export type CSpellRPCClientOptions = RPCClientOptions;
export type CSpellRPCClientConfig = RPCClientConfiguration;
export declare class CSpellRPCClient extends RPCClient<CSpellRPCApi> {
    constructor(config: CSpellRPCClientConfig);
    getApi(): RPCProtocol<CSpellRPCApi>;
}
/**
 * Create a CSpell RPC Client.
 * @param config - Client configuration
 * @returns CSpellRPCClient
 */
export declare function createCSpellRPCClient(config: CSpellRPCClientConfig): CSpellRPCClient;
//# sourceMappingURL=client.d.ts.map