/** * Launches in-app review dialog. * * @returns {Promise} Callback when operation is completed * * @example * cordova.plugins.AppReview.requestReview(); * // request dialog and provide fallback * cordova.plugins.AppReview.requestReview().catch(function() { * return cordova.plugins.AppReview.openStoreScreen(); * }); */ export function requestReview(): Promise; /** * Launches App/Play store page with a review form. By default current app screen * is displayed but you can pass a package name string to show another app details. * * @param {string} [packageName] Package name to show instead of the current app. * @param {boolean} [writeReview] Open review form if true. Only implemented on iOS. * @returns {Promise} Callback when operation is completed * * @example * cordova.plugins.AppReview.openStoreScreen(); * cordova.plugins.AppReview.openStoreScreen("com.app.example"); * cordova.plugins.AppReview.openStoreScreen(null, true); */ export function openStoreScreen(packageName?: string, writeReview?: boolean): Promise;