import { Observable, OperatorFunction } from 'rxjs'; /** * Subscribes to any emitted observable, but "cancels" it immediately when another one arrives. * _Canceling_ means: * * the source observable is immediately unsubscribed from * * the re-emitted hot observable is completed or failed (if `cancelError` is specified and different from `undefined`) * * The observables are re-emitted immediately as *hot*. * * **Warning:** The source observable is always subscribed to, therefore this concurrency strategy cannot prevent eventual side-effects when cancelling. * * @param cancelError when provided the re-emitted observable will throw the provided error instead of completing when it is cancelled * @typeParam T type of both the accepted and emitted observable * @category Operator */ export declare function concurrentLatest(cancelError?: any): OperatorFunction, Observable>; //# sourceMappingURL=concurrent-latest.d.ts.map