import { HttpParams } from '@angular/common/http'; import { OnDestroy } from '@angular/core'; import { Observable, Subject, Subscription } from 'rxjs'; import { getLazyLoadingParams } from '../helperclasses/apihelper'; import { SCShellHeaderButtonEvent } from '../sc-shell'; import { SCData } from './sc-data'; import * as i0 from "@angular/core"; export interface SCSubscriptionConfig { destroyObj?: any; filterUndefined?: boolean; subscriptionIndex?: string; setSubmitted?: boolean; shouldUnsubscribe?: boolean; } export interface SCHeaderSubscriptionConfig extends SCSubscriptionConfig { params?: HttpParams | any; } export declare class NameDirective { constructor(); } export declare class SCBaseClass implements OnDestroy { protected subscriptions: Subscription; protected runningSubscriptions: { [subscriptionIndex: string]: { isRunning: boolean; }; }; protected dataSourceSubscriptions: { [index: string]: Subscription; }; getLazyLoadingParams: typeof getLazyLoadingParams; protected isSubmitted: boolean; constructor(); ngOnDestroy(): void; isSubscriptionRunning(subscriptionIndex: string): boolean; addSubscription(sub: Observable, config?: SCSubscriptionConfig): Observable; addHeaderSubscription(sub: Observable, config?: SCHeaderSubscriptionConfig): Observable; preventEvent(event: MouseEvent): void; getSCData(dataSubject: Subject, dataSourceObs: Observable>, config?: SCSubscriptionConfig): Observable; getPagingData(dataSubject: Subject, dataSourceObs: Observable, config?: SCSubscriptionConfig): Observable; getDataHelper(dataSubject: Subject, dataSourceObs: Observable, config?: SCSubscriptionConfig): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }