// Platform-provided secret store.
//
// Mobile: expo-secure-store (Keychain / Keystore).
// Desktop M1: localStorage-backed (dev only, clearly flagged insecure).
// Desktop prod: tauri-plugin-stronghold.
//
// All implementations encode Uint8Array values as base64 under the hood.

export interface SecretStore {
  getSecret(key: string): Promise<Uint8Array | null>;
  setSecret(key: string, value: Uint8Array): Promise<void>;
  removeSecret(key: string): Promise<void>;
}
