expo-native-storage
Version:
Lightning-fast native storage for Expo.
13 lines • 506 B
TypeScript
export type ExpoNativeStorageModule = {
setItem(key: string, value: string): Promise<void>;
getItem(key: string): Promise<string | null>;
removeItem(key: string): Promise<void>;
clear(): Promise<void>;
setItemSync(key: string, value: string): void;
getItemSync(key: string): string | null;
removeItemSync(key: string): void;
clearSync(): void;
};
declare const _default: ExpoNativeStorageModule;
export default _default;
//# sourceMappingURL=ExpoNativeStorageModule.d.ts.map