@netlify/content-engine
Version:
15 lines • 504 B
TypeScript
import { RootDatabase } from "lmdb";
import { IDataStore, ILmdbDatabases } from "../types";
declare global {
namespace NodeJS {
interface Global {
__GATSBY_OPEN_LMDBS?: Map<string, ILmdbDatabases>;
__GATSBY_OPEN_ROOT_LMDBS?: Map<string, RootDatabase>;
}
}
}
export declare function getDefaultDbPath(cwd?: string): string;
export declare function getLmdbStore({ dbPath, }?: {
dbPath?: string;
}): IDataStore;
//# sourceMappingURL=lmdb-datastore.d.ts.map