/**
 * @packageDocumentation
 * @module utils
 */
import { Observable, SchedulerLike, TimestampProvider } from 'rxjs';
export declare type PublishRefConfig<T> = number | (import('rxjs/internal/operators/share').ShareConfig<T> & {
    bufferSize?: number;
    windowTime?: number;
    timestampProvider?: TimestampProvider;
});
export declare const publishRef: <T>(bufferSizeOrConfig?: PublishRefConfig<T>) => import("rxjs").MonoTypeOperatorFunction<T>;
export declare const shareUntil: <T>(destroy$: Observable<unknown>, bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike) => import("rxjs").UnaryFunction<Observable<T>, Observable<T>>;
export declare const skipError: <T, R = never>(mapped?: R | Observable<R>, debug?: boolean) => import("rxjs").OperatorFunction<T, T | R>;
export declare const catchPromise: <T, R = never>(promise: Promise<T>, mapped?: R | Observable<R>) => Observable<T | R>;
/**
 * Must be called from an injection context (a constructor, a factory function or a field initializer).
 * Find more at https://angular.io/errors/NG0203
 */
export declare const takeUntilViewDestroyed: <T>() => import("rxjs").MonoTypeOperatorFunction<T>;
