import type { ButtonTypeEnum, INotificationDto, IPaginatedResponse, ISessionDto, MessageActionStatusEnum, MessagesStatusEnum, PreferenceLevelEnum } from '@novu/shared'; import { ApiOptions, IStoreQuery, ITabCountQuery, IUnreadCountQuery, IUnseenCountQuery, IUserGlobalPreferenceSettings, IUserPreferenceSettings } from '../index'; export declare class ApiService { private httpClient; isAuthenticated: boolean; constructor(backendUrl: string, apiVersion?: ApiOptions['apiVersion']); constructor(options?: ApiOptions); private removeNullUndefined; setAuthorizationToken(token: string): void; disposeAuthorizationToken(): void; updateAction(messageId: string, executedType: `${ButtonTypeEnum}`, status: `${MessageActionStatusEnum}`, payload?: Record): Promise; markMessageAs(messageId: string | string[], mark: { seen?: boolean; read?: boolean; }): Promise; markMessagesAs({ messageId, markAs, }: { messageId: string | string[]; markAs: `${MessagesStatusEnum}`; }): Promise; removeMessage(messageId: string): Promise; removeMessages(messageIds: string[]): Promise; removeAllMessages(feedId?: string): Promise; markAllMessagesAsRead(feedId?: string | string[]): Promise; markAllMessagesAsSeen(feedId?: string | string[]): Promise; getNotificationsList(page: number, { payload, ...rest }?: IStoreQuery): Promise>; initializeSession(appId: string, subscriberId: string, hmacHash?: any): Promise; postUsageLog(name: string, payload: { [key: string]: string | boolean | undefined; }): Promise; getUnseenCount(query?: IUnseenCountQuery): Promise<{ count: number; }>; getUnreadCount(query?: IUnreadCountQuery): Promise<{ count: number; }>; getTabCount(query?: ITabCountQuery): Promise; getOrganization(): Promise; getUserPreference(): Promise; getUserGlobalPreference(): Promise; getPreferences({ level, }: { level?: `${PreferenceLevelEnum}`; }): Promise>; updateSubscriberPreference(templateId: string, channelType: string, enabled: boolean): Promise; updateSubscriberGlobalPreference(preferences: { channelType: string; enabled: boolean; }[], enabled?: boolean): Promise; } //# sourceMappingURL=api.service.d.ts.map