import { Db } from 'mongodb'; export declare type CollectionName = string; export interface IDataAPI { getSchema(mongoDBInstance: Db, index: CollectionName): Promise; getMembers(mongoDBInstance: Db, index: CollectionName, fieldObject: object, page: PagingInterface): Promise; getSelectResult(mongoDBInstance: Db, index: CollectionName, query: object, page: PagingInterface): Promise; } export interface PagingInterface { page?: number; pageToken?: string; }