import { AttachmentDriverIndexedDB } from "https://deno.land/x/earthstar@v10.0.0-alpha.2/src/replica/attachment_drivers/indexeddb.ts";
Parameters
attachment: Uint8Array | ReadableStream<Uint8Array>
Returns
Promise<{ hash: string; size: number; commit: () => Promise<void>; reject: () => Promise<void>; } | ValidationError>