UNPKG

notification-kit

Version:

A unified notification library for React + Capacitor apps. One API for push notifications, in-app notifications, and local notifications across Web, iOS, and Android.

25 lines 1.11 kB
import { Platform, PlatformCapabilities, PlatformDetection, PlatformDefaults, PlatformCompatibility } from '../types'; export declare class PlatformManager { private detection; private capabilities; detect(): Promise<PlatformDetection>; getCapabilities(platform?: Platform): Promise<PlatformCapabilities>; isSupported(feature: keyof PlatformCapabilities, platform?: Platform): Promise<boolean>; getDefaults(): PlatformDefaults; getCompatibility(): PlatformCompatibility; private getPlatform; private getVersion; private buildCapabilities; private getSupportedFeatures; private getLimitations; private getWarnings; } export declare const platformManager: PlatformManager; export declare const platform: { detect: () => Promise<PlatformDetection>; getCapabilities: (platform?: Platform) => Promise<PlatformCapabilities>; isSupported: (feature: keyof PlatformCapabilities, platform?: Platform) => Promise<boolean>; getDefaults: () => PlatformDefaults; getCompatibility: () => PlatformCompatibility; }; //# sourceMappingURL=platform.d.ts.map