import { ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core'; import { CometChat } from '@cometchat-pro/chat'; import { States, TitleAlignment, SelectionMode, ListStyle } from "uikit-utils-lerna"; import { AvatarStyle, DateStyle, IconStyle, ListItemStyle } from 'my-cstom-package-lit'; import { Subscription } from 'rxjs'; import { CometChatThemeService } from '../../../CometChatTheme.service'; import { CometChatOption, DatePatterns } from 'uikit-resources-lerna'; import { CallHistoryStyle } from 'uikit-utils-lerna'; /** * * CometChatCallHistory is a wrapper component which renders callhistory of the loggedinuser using CometChatListItem && CometChatList. * * @version 1.0.0 * @author CometChatTeam * @copyright © 2022 CometChat Inc. * */ export declare class CometChatCallHistoryComponent implements OnInit { private ref; private themeService; messageRequestBuilder: CometChat.MessagesRequestBuilder; subtitleView: TemplateRef; listItemView: TemplateRef; menu: TemplateRef; options: ((member: CometChat.Call) => CometChatOption[]) | null; activeCall: CometChat.Call | null; hideSeparator: boolean; selectionMode: SelectionMode; hideError: boolean; title: string; onError: (error: any) => void; onSelect: (call: CometChat.Call) => void; emptyStateView: TemplateRef; errorStateView: TemplateRef; loadingIconURL: string; datePattern: DatePatterns; loadingStateView: TemplateRef; emptyStateText: string; errorStateText: string; titleAlignment: TitleAlignment; avatarStyle: AvatarStyle; dateStyle: DateStyle; callHistoryStyle: CallHistoryStyle; listItemStyle: ListItemStyle; onItemClick: (call: CometChat.Call) => void; callsRequest: CometChat.MessagesRequest | null; selectionmodeEnum: typeof SelectionMode; state: States; ccOutgoingCall: Subscription; ccCallAccepted: Subscription; ccCallRejected: Subscription; ccCallEnded: Subscription; listStyle: ListStyle; limit: number; callsList: CometChat.Call[]; callsListenerId: string; loggedInUser: CometChat.User | null; onScrolledToBottom: any; iconStyle: IconStyle; constructor(ref: ChangeDetectorRef, themeService: CometChatThemeService); ngOnInit(): void; callMenuOption(event: any, call: CometChat.Call): void; subscribeToEvents(): void; unsubscribeToEvents(): void; ngOnDestroy(): void; /** * @param {CometChat.Call} call */ /** * @param {CometChat.Call} call */ attachListeners(): void; removeListener(): void; fetchNextcallList: () => void; getSubtitle(call: CometChat.Call): string; /** * @param {CometChat.Call} call */ onClick: (call: CometChat.Call) => void; /** * @param {CometChat.Call} call */ /** * @param {CometChat.Call} call */ getActiveCall: (call: CometChat.Call) => boolean; getCallTypeIcon(call: CometChat.Call): "assets/Audio-Call.svg" | "VideoCallIcon"; getCallerName(call: CometChat.Call): string; getRequestBuilder(): CometChat.MessagesRequest; /** * addcall * @param call */ addCall(call: CometChat.Call): void; callStyle: () => { height: string | undefined; width: string | undefined; background: string | undefined; border: string | undefined; borderRadius: string | undefined; }; setThemeStyle(): void; setAvatarStyle(): void; setDateStyle(): void; getListItemStyle(call: CometChat.Call): { activeBackground?: string | undefined; hoverBackground?: string | undefined; separatorColor?: string | undefined; titleFont?: string | undefined; titleColor?: string | undefined; height?: string | undefined; width?: string | undefined; border?: string | undefined; borderRadius?: string | undefined; background?: string | undefined; }; setCallsStyle(): void; subtitleStyle: () => { font: string | undefined; color: string | undefined; }; }