/** * AsyncStorage Token Storage for React Native Mobile Platforms * * Bundler-agnostic AsyncStorage implementation for mobile platforms. * * IMPORTANT: Due to bundler conflicts between Rollup (SDK) and Metro (app), * the consuming app MUST set global.AsyncStorageModule before using this SDK: * * ```javascript * // In your app's index.js, BEFORE importing the SDK: * import AsyncStorage from '@react-native-async-storage/async-storage'; * global.AsyncStorageModule = AsyncStorage; * ``` */ import type { TokenStorage } from '@explorins/pers-sdk/core'; declare global { var AsyncStorageModule: any; } /** * AsyncStorage implementation for mobile platforms * * This class is only used on mobile platforms (iOS/Android). * Web platforms use LocalStorageTokenStorage from core SDK. */ export declare class AsyncStorageTokenStorage implements TokenStorage { private keyPrefix; private asyncStorage; constructor(keyPrefix?: string); set(key: string, value: string): Promise; get(key: string): Promise; remove(key: string): Promise; clear(): Promise; } //# sourceMappingURL=async-storage-token-storage.d.ts.map