export interface SecureStoreCredential { account : string ; password : string ; } export type SecureStoreCredentials = Array < SecureStoreCredential > ; export interface SecureStore { getPassword ( service , account ) : Promise < string | null > ; setPassword ( service , account , password ) : Promise < void > ; deletePassword ( service , account ) : Promise < boolean > ; findCredentials ( service ) : Promise < SecureStoreCredentials > ; findPassword ( service ) : Promise < string | null > ; }