import { Observable } from 'rxjs'; import { RpcExceptionsHandler } from '../exceptions/rpc-exceptions-handler'; export declare class RpcProxy { create(targetCallback: (...args: unknown[]) => Promise>, exceptionsHandler: RpcExceptionsHandler): (...args: unknown[]) => Promise>; handleError(exceptionsHandler: RpcExceptionsHandler, args: unknown[], error: T): Observable; }