import { AlCardstackCharacteristics, AlCardstackItem, AlCardstackView, AlCardstackValueDescriptor } from '@al/core'; import { AlGenericAlertDefinition, AlIncidentAlertProperties, AlScheduledReportProperties } from '@al/gestalt'; import { AlHeraldSubscribersV2 } from '@al/herald'; import { AlCardstackViewCharacteristics } from '@al/ng-cardstack-components'; import { AlStateFilterDescriptor, AlToolbarContentConfig, AlFilterDescriptor } from '@al/ng-generic-components'; import { AlNotificationDictionariesUtility } from '../services/al-notification-dictionaries-utility'; export declare class AlNotificationCardstack extends AlCardstackView { viewName?: string; offset: string; actingAccountId?: string; aggregatableList: AlGenericAlertDefinition[]; toolbarDetails: AlToolbarContentConfig; stateFiltersInitial: Array<{ value: AlStateFilterDescriptor; }>; alFilterConfig: AlFilterDescriptor; selectedStateInitial: AlStateFilterDescriptor; dictionaries: AlNotificationDictionariesUtility; version: number; private allUsersRelated; constructor(viewName?: string); setAccount(accountId: string): Promise; alertCharacteristics(): Promise; /** * Create dictionary for users and accounts * @param characteristics */ createDictionaries(characteristics: AlCardstackCharacteristics): void; /** this is call in the start */ generateCharacteristics(): Promise; /** * This method is called to calculate status totals *before* filtering is applied. */ preAggregateSummary(alerts: AlGenericAlertDefinition[]): void; /** * This method is called to calcualte status totals *after* filtering is applied. */ postAggregateSummary(visibleItems: AlCardstackItem[]): void; onCardsChanged(): void; /** * Retrieve data from the API. * This method should resolve with a detailed model of the array of result data. */ fetchData(): Promise; /** * Add complementary information to the account ids, user ids, etc * */ complementNotificationMetadata(item: AlGenericAlertDefinition): AlGenericAlertDefinition; complementSubscribers(item: AlGenericAlertDefinition, subscribers: AlHeraldSubscribersV2[]): void; /** * Convert a backend entity into a generic property set. * This allows sorting, filtering, grouping, and segmenting to be handled using a low-level class that doesn't need to know anything * about our particular entities or services. */ deriveEntityProperties(item: AlGenericAlertDefinition): AlIncidentAlertProperties; removeItems(ids: string[], hierarchyType: string): Promise; applyFilterBy(vDescriptor: AlCardstackValueDescriptor): boolean; private customeFilterCb; private getAllUsersRelated; private setReduceFilters; }