import Keychain from 'react-native-keychain'; /** * This is a wrapper to simplify our use of the keychain / other storage (Android) - * See: https://github.com/oblador/react-native-keychain for more documentation * * * Notes: Using "generic" credentials to keep things flexible -- the "service" is what differentiates each client (or other item) */ /** * A container for data that should be encrypted at rest on the user's device. * * Should not contain large amounts of data as serialization/deserialization can be slow. * * @param instanceIdentifier a unique identifier for the context, could be a client or user id, etc. */ export declare class SecureStore { instanceIdentifier: string; keychainOptions: Keychain.Options; constructor(instanceIdentifier: string, accessGroup?: string); /** * Stores an object as { username, password } at key com.lifeomic.securestore/ * @param object */ setObject(object: Stored): Promise; getObject(): Promise; clear(): Promise; } export declare const unusedUsername = "unused-username";