import { OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import { SuspenseValue } from '../helpers/suspense-value'; import { Config } from '../models/config'; import { Visibility } from '../models/visibility'; import * as i0 from "@angular/core"; export declare class SuspenseService implements OnDestroy { readonly data: SuspenseValue; readonly loading: SuspenseValue; readonly error: SuspenseValue; private readonly config; private readonly configChangeSubject; get valuesChanges(): Observable; setConfig(key: keyof Config, value: boolean): void; ngOnDestroy(): void; get visibility(): Visibility; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }