import { PluginListenerHandle } from "@capacitor/core"; import { APP_PUBLISH_STATUT, APPRATE_INIT, APPRATE_OPTS, APPRATE_OPTS_CHECK, APPRATE_STATUT } from "./interface"; declare module "@capacitor/core" { interface PluginRegistry { AppRateGFC: AppRateGFCPlugin; } } export interface AppRateGFCPlugin { init(options: APPRATE_OPTS): Promise; checkAppStatus(options: APPRATE_OPTS_CHECK): Promise; showDirectly(): Promise<{}>; addListener(eventName: 'positifRateEvent', listenerFunc: (statut: APPRATE_STATUT) => void): PluginListenerHandle; addListener(eventName: 'netralRateEvent', listenerFunc: (statut: APPRATE_STATUT) => void): PluginListenerHandle; addListener(eventName: 'negativeRateEvent', listenerFunc: (statut: APPRATE_STATUT) => void): PluginListenerHandle; addListener(eventName: 'appIsPublishEvent', listenerFunc: (statut: APP_PUBLISH_STATUT) => void): PluginListenerHandle; addListener(eventName: 'isAllReadyShow', listenerFunc: (statut: boolean) => void): PluginListenerHandle; }