UNPKG

@pubflow/react-native

Version:

React Native adapter for Pubflow framework

26 lines (25 loc) 836 B
/** * Storage Debug Utilities * * Provides utilities for debugging storage-related issues * These utilities are only enabled when debugTools is enabled in PubflowProvider */ /** * Debug storage keys and values * * @param prefix Optional prefix to filter keys * @param forceEnable Force enable debug even if not enabled in config * @returns Promise with the debug information */ export declare function debugStorage(prefix?: string, forceEnable?: boolean): Promise<{ keys: string[]; values: Record<string, any>; }>; /** * Clear storage keys with a specific prefix * * @param prefix Prefix to filter keys to remove * @param forceEnable Force enable debug even if not enabled in config * @returns Promise<void> */ export declare function clearStorageByPrefix(prefix: string, forceEnable?: boolean): Promise<void>;