import type { PluginListenerHandle } from '@capacitor/core'; import { AirshipActions } from './AirshipActions'; import { AirshipAnalytics } from './AirshipAnalytics'; import { AirshipChannel } from './AirshipChannel'; import { AirshipContact } from './AirshipContact'; import { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager'; import { AirshipInApp } from './AirshipInApp'; import { AirshipLocale } from './AirshipLocale'; import { AirshipMessageCenter } from './AirshipMessageCenter'; import { AirshipPreferenceCenter } from './AirshipPreferenceCenter'; import { AirshipPrivacyManager } from './AirshipPrivacyManager'; import { AirshipPush } from './AirshipPush'; import type { AirshipPluginWrapper } from './AirshipPlugin'; import type { AirshipConfig, DeepLinkEvent } from './types'; import { AirshipLiveActivityManager } from './AirshipLiveActivityManager'; import { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager'; /** * Airship */ export declare class AirshipRoot { private readonly plugin; readonly actions: AirshipActions; readonly analytics: AirshipAnalytics; readonly channel: AirshipChannel; readonly contact: AirshipContact; readonly inApp: AirshipInApp; readonly locale: AirshipLocale; readonly messageCenter: AirshipMessageCenter; readonly preferenceCenter: AirshipPreferenceCenter; readonly privacyManager: AirshipPrivacyManager; readonly push: AirshipPush; readonly featureFlagManager: AirshipFeatureFlagManager; /** * iOS only accessors */ readonly iOS: AirshipRootIOS; /** * iOS only accessors */ readonly android: AirshipRootAndroid; constructor(plugin: AirshipPluginWrapper); /** * Calls takeOff. If Airship is already configured for * the app session, the new config will be applied on the next * app init. * @param config The config. * @returns A promise with the result. `true` if airship is ready. */ takeOff(config: AirshipConfig): Promise; /** * Checks if Airship is ready. * @returns A promise with the result. */ isFlying(): Promise; /** * Adds a deep link listener. */ onDeepLink(listener: (event: DeepLinkEvent) => void): Promise; } export declare class AirshipRootIOS { readonly liveActivityManager: AirshipLiveActivityManager; constructor(plugin: AirshipPluginWrapper); } export declare class AirshipRootAndroid { readonly liveUpdateManager: AirshipLiveUpdateManager; constructor(plugin: AirshipPluginWrapper); }