import type { RxJsFacade } from '@slickgrid-universal/common'; import { Observable, Subject, type ObservableInput, type ObservedValueOf, type OperatorFunction } from 'rxjs'; export declare class RxJsResource implements RxJsFacade { readonly pluginName = "RxJsResource"; /** * The same Observable instance returned by any call to without a scheduler. * This returns the EMPTY constant from RxJS */ get EMPTY(): Observable; /** Simple method to create an Observable */ createObservable(): Observable; /** Simple method to create a Subject */ createSubject(): Subject; /** Converts an observable to a promise by subscribing to the observable, and returning a promise that will resolve * as soon as the first value arrives from the observable. The subscription will then be closed. */ firstValueFrom(source: Observable): Promise; iif(condition: () => boolean, trueResult?: any, falseResult?: any): Observable; /** Tests to see if the object is an RxJS Observable */ isObservable(obj: any): boolean; /** Converts the arguments to an observable sequence. */ of(...value: any): Observable; /** Projects each source value to an Observable which is merged in the output Observable, emitting values only from the most recently projected Observable. */ switchMap>(project: (value: T, index: number) => O): OperatorFunction>; /** Emits the values emitted by the source Observable until a `notifier` Observable emits a value. */ takeUntil(notifier: Observable): any; } //# sourceMappingURL=rxjs.resource.d.ts.map