UNPKG

553 BTypeScriptView Raw
1/**
2 * @name Couchbase Lite
3 * @description
4 * Plugin to install Couchbase Lite in your PhoneGap app on iOS or Android
5 *
6 * @usage
7 * ```
8 * import { CouchbaseLite } from 'ionic-native';
9 *
10 * CouchbaseLite.getURL()
11 * .then((url: any) => console.log(url))
12 * .catch((error: any) => console.log(error));
13 *
14 * ```
15 */
16export declare class CouchbaseLite {
17 /**
18 * Get the database url
19 * @return {Promise<any>} Returns a promise that resolves with the local database url
20 */
21 static getURL(): Promise<any>;
22}