import { OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; export declare abstract class BaseComponent implements OnDestroy { /** * Loading property. This variable stores the current status of the loader. */ isLoading: boolean; /** * Timeaout. After the given time elapsed, the loader stops immediately. The value stores the time in ms! * @default 5000 ms */ loadingTimeout: number; /** * The subscriptions in this array will unsubscribe during the ngOnDestroy() method. */ protected destroyableSubscriptions: Subscription[]; /** * This property needs for reset the setTimeout method. */ private timeoutHandler; ngOnDestroy(): void; /** * Public interface of the _loading private property. Current status of the loader. */ readonly loading: boolean; /** * This method starts the loader. After `loadingTimeout` ms it will stops the loading. */ startLoading(): void; /** * This method stops the loader. */ stopLoading(): void; }