export declare type PaginationMode = 'before' | 'after'; export declare type Comparable = { /** Order By KeyType */ key: (v: ObjectType) => KeyType; /** Compare Keys here */ compare: (a: KeyType, b: KeyType) => number; }; /** Identifier function for object */ export declare type Identifiable = (v: T) => string; export interface IKeyedDB { length: number; first: T; last: T; get(id: string): T; toJSON(): any; insert(...values: T[]): any; delete(value: T): T; }