import { Observable } from 'rxjs'; import { IdPair } from '../types'; import { OperationsAPI } from './operations/types'; export declare function emitOperation(operationName: keyof OperationsAPI, idPair: IdPair, typeName: string, extraArgs: any[]): void; export interface OperationError { type: 'error'; op: keyof OperationsAPI; id: string; error: Error; } export interface OperationSuccess { type: 'success'; op: keyof OperationsAPI; id: string; } export declare const operationEvents: (arg1: IdPair, arg2: any) => Observable; //# sourceMappingURL=operationEvents.d.ts.map