declare module 'react-native-keychain' { export interface UserCredentials { username: string; password: string; } export interface SharedWebCredentials { server: string; username: string; password: string; } export interface SecureOptions { service: string; customPrompt?: string; authenticationType?: string; accessControl?: string; } function canImplyAuthentication( options?: SecureOptions ): Promise; function getSupportedBiometryType( ): Promise; function setSecurePassword( username: string, password: string, options?: SecureOptions ): Promise; function getSecurePassword( options?: SecureOptions ): Promise; function setInternetCredentials( server: string, username: string, password: string ): Promise; function getInternetCredentials( server: string ): Promise; function resetInternetCredentials( server: string ): Promise; function setGenericPassword( username: string, password: string, service?: string ): Promise; function getGenericPassword( service?: string ): Promise; function resetGenericPassword( service?: string ): Promise function requestSharedWebCredentials ( ): Promise; function setSharedWebCredentials( server: string, username: string, password: string ): Promise; }