type StorageApi = { getItem: (key: string) => Promise, setItem: (key: string, item: string) => Promise, removeItem: (key: string) => Promise, }; declare module "redux-persist-keychain-storage" { declare export function createKeychainStorage(): StorageApi; }