export interface PushMethods { isDeviceRegisteredForPushNotifications: () => Promise; registerDeviceForPushNotifications: () => Promise; } export interface MessagingDataSource extends PushMethods { middleware?: unknown; }