export declare const dbKey = "__db"; interface DBRecord { format(): Record; [key: string]: unknown; } export default class DB { static instance: DB; record: DBRecord; constructor(); getSchema(): Promise; getCollectionKeys(): string[]; getDirPath(): string; validateMode(): Promise; init(): Promise; create(): Promise>; save(): Promise; getRecord(): Promise; getRecordFromFile(): Promise; getRecordFromDirectory(): Promise; } export {};