import { Id } from '@centsideas/types' ; import { PersistedSnapshot } from './snapshot' ; export interface SnapshotStore { get ( id ) : Promise < PersistedSnapshot | undefined > ; store ( snapshot ) : Promise < void > ; } export interface SnapshotStoreFactoryOptions { url : string ; name : string ; }