import IEngine from '../IEngine'; import IExec from '../IExec'; import NedbDatastore from './NedbDatastore'; export default class EngineNedb implements IEngine, IExec { datastore: NedbDatastore; constructor(path: string, inMemoryOnly?: boolean); isConnected(): boolean; connect(): Promise; close(): Promise; drop(): Promise; exec(fn: (client: NedbDatastore) => B): Promise; }