/**
 * Default barrel resolved by bundlers under the `browser` condition.
 *
 * Excludes `EncryptedSQLiteStorage` (pulls `bun:sqlite`) and
 * `EncryptedPostgresStorage` (pulls `postgres`). Browser apps can keep using
 * `import { KeyManager } from '@shade/storage-encrypted'` — Vite/webpack will
 * pick this file via the `browser` condition and produce a clean bundle.
 *
 * Node/Bun consumers continue to resolve to `./index.js`, which exposes the
 * full surface area (back-compat).
 */

export * from './crypto.js';
export { EncryptedIndexedDBStorage } from './storage/encrypted-indexeddb.js';
