import type { BCMSSocketEventType } from './models'; export declare type BCMSSocketManagerScope = 'global' | 'client'; export interface BCMSSocketManager { emit: { backup(data: { type: BCMSSocketEventType; userIds: string[] | 'all'; fileName: string; size: number; }): Promise; message(data: { userIds: string[] | 'all'; message: string; messageType: 'info' | 'success' | 'error' | 'warn'; }): Promise; apiKey(data: { type: BCMSSocketEventType; apiKeyId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; entry(data: { type: BCMSSocketEventType; templateId: string; entryId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; group(data: { type: BCMSSocketEventType; groupId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; language(data: { type: BCMSSocketEventType; languageId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; media(data: { type: BCMSSocketEventType; mediaId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; status(data: { type: BCMSSocketEventType; statusId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; template(data: { type: BCMSSocketEventType; templateId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; templateOrganizer(data: { type: BCMSSocketEventType; templateOrganizerId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; user(data: { type: BCMSSocketEventType; userId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; widget(data: { type: BCMSSocketEventType; widgetId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; color(data: { type: BCMSSocketEventType; colorId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; tag(data: { type: BCMSSocketEventType; tagId: string; /** * Who will receive this event. */ userIds: string[] | 'all'; excludeUserId?: string[]; scopes?: BCMSSocketManagerScope[]; }): Promise; refresh(data: { userId: string; }): Promise; signOut(data: { userId: string; }): Promise; sync: { entry(data: { channel: string; connId: string; }): Promise; }; }; }