import type { PluginListenerHandle } from '@capacitor/core'; import type { NotificareApplication } from './models/notificare-application'; import type { NotificareDevice } from './models/notificare-device'; import type { NotificareDoNotDisturb } from './models/notificare-do-not-disturb'; import type { NotificareDynamicLink } from './models/notificare-dynamic-link'; import type { NotificareNotification } from './models/notificare-notification'; export declare const _Notificare: NotificarePlugin; export interface NotificarePlugin { isConfigured(): Promise<{ result: boolean; }>; isReady(): Promise<{ result: boolean; }>; launch(): Promise; unlaunch(): Promise; getApplication(): Promise<{ result: NotificareApplication | null; }>; fetchApplication(): Promise<{ result: NotificareApplication; }>; fetchNotification(options: { id: string; }): Promise<{ result: NotificareNotification; }>; fetchDynamicLink(options: { url: string; }): Promise<{ result: NotificareDynamicLink; }>; canEvaluateDeferredLink(): Promise<{ result: boolean; }>; evaluateDeferredLink(): Promise<{ result: boolean; }>; getCurrentDevice(): Promise<{ result: NotificareDevice | null; }>; getPreferredLanguage(): Promise<{ result: string | null; }>; updatePreferredLanguage(options: { language: string | null; }): Promise; /** * @deprecated Use updateUser() instead. */ register(options: { userId: string | null; userName: string | null; }): Promise; updateUser(options: { userId: string | null; userName: string | null; }): Promise; fetchTags(): Promise<{ result: string[]; }>; addTag(options: { tag: string; }): Promise; addTags(options: { tags: string[]; }): Promise; removeTag(options: { tag: string; }): Promise; removeTags(options: { tags: string[]; }): Promise; clearTags(): Promise; fetchDoNotDisturb(): Promise<{ result: NotificareDoNotDisturb | null; }>; updateDoNotDisturb(options: { dnd: NotificareDoNotDisturb; }): Promise; clearDoNotDisturb(): Promise; fetchUserData(): Promise<{ result: Record; }>; updateUserData(options: { userData: Record; }): Promise; logCustom(options: { event: string; data?: Record; }): Promise; addListener(eventName: string, listenerFunc: (data: any) => void): Promise; }