import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared'; import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery, IUnreadCountQuery, IUserGlobalPreferenceSettings } from '../index'; export declare class ApiService { private backendUrl; private httpClient; isAuthenticated: boolean; constructor(backendUrl: string); 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; 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; getUnreadCount(query?: IUnreadCountQuery): Promise; getTabCount(query?: ITabCountQuery): Promise; getOrganization(): Promise; getUserPreference(): Promise; getUserGlobalPreference(): Promise; updateSubscriberPreference(templateId: string, channelType: string, enabled: boolean): Promise; updateSubscriberGlobalPreference(preferences: { channelType: string; enabled: boolean; }[], enabled?: boolean): Promise; } //# sourceMappingURL=api.service.d.ts.map