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