export interface FingerprintOptions { /** * Key for platform keychain */ clientId: string; /** * Secret password. Only for android */ clientSecret?: string; /** * Disable 'use backup' option. Only for android (optional) */ disableBackup?: boolean; } /** * @beta * @name FingerprintAIO * @description * Use simple fingerprint authentication on Android and iOS. * Requires Cordova plugin: cordova-plugin-fingerprint-aio. For more info about plugin, vist: https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio * * @usage * ```typescript * import { FingerprintAIO } from 'ionic-native'; * * FingerprintAIO.show({ * clientId: "Fingerprint-Demo", * clientSecret: "password", //Only necessary for Android * disableBackup:true //Only for Android(optional) * }) * .then((result: any) => console.log(any)) * .catch((error: any) => console.log(error)); * * ``` * @interfaces * FingerprintOptions */ export declare class FingerprintAIO { /** * Check if fingerprint authentication is available * @return {Promise} Returns a promise with result */ static isAvailable(): Promise; /** * Show authentication dialogue * @param options {FingerprintOptions} options for platform specific fingerprint API * @return {Promise} Returns a promise that resolves when authentication was successfull */ static show(options: FingerprintOptions): Promise; }