import type { PluginListenerHandle } from '@capacitor/core'; import type { RegisterForNotificationOptions, ZebraNotificationEvent } from './definitions'; type NativeOptions = Omit; interface NotificationBridge { registerForNotification(options: NativeOptions): Promise; unRegisterForNotification(options: NativeOptions): Promise; addListener(event: 'notification', listener: (event: ZebraNotificationEvent) => void): Promise; } /** Keep listener installation and native dispatch in one ordered operation per registration key. */ export declare function createZebraNotification(native: NotificationBridge): { registerForNotification(options: RegisterForNotificationOptions): Promise; /** Unregister and remove the local listener; failed cleanup retains an inactive handle for retry. */ unRegisterForNotification(options: NativeOptions): Promise; }; export {};