export interface Proof { readonly siblingHashes : Buffer [ ] ; readonly queries : Query [ ] ; } export interface Query { readonly key : Buffer ; readonly value : Buffer ; readonly bitmap : Buffer ; } export interface Database { get ( key ) : Promise < Buffer > ; set ( key , value ) : Promise < void > ; del ( key ) : Promise < void > ; }