UNPKG

strata-storage

Version:

Zero-dependency universal storage plugin providing a unified API for all storage operations across web, Android, and iOS platforms

20 lines 859 B
import type { Strata } from './core/Strata'; export { PreferencesAdapter } from './adapters/capacitor/PreferencesAdapter'; export { SqliteAdapter } from './adapters/capacitor/SqliteAdapter'; export { SecureAdapter } from './adapters/capacitor/SecureAdapter'; export { FilesystemAdapter } from './adapters/capacitor/FilesystemAdapter'; export { StrataStorage } from './plugin'; /** * Register Capacitor adapters with a Strata instance * This is completely optional and only needed for Capacitor apps */ export declare function registerCapacitorAdapters(storage: Strata): Promise<void>; /** * Helper to check if running in Capacitor environment */ export declare function isCapacitorEnvironment(): boolean; /** * Get Capacitor-specific storage types */ export declare function getCapacitorStorageTypes(): string[]; //# sourceMappingURL=capacitor.d.ts.map