import { AttachmentID , AttachmentMIMEType , Event , EventID , } from "@withorbit/core" ; export interface SyncAdapter { id : string ; listEvents ( afterEventID , limit ) : Promise < Event [ ] > ; putEvents ( events ) : Promise < void > ; putAttachment ( contents , id , type ) : Promise < void > ; getAttachmentContents ( id ) : Promise < Uint8Array > ; }