export default class LockFileInstance { private filePath; private lockKey; private logger; private tryMax; private tryGap; private tryCount; constructor(filePath: string, lockKey: string); clearFile(): void; checkIfCanRead(cb: any): void; read(key: string | undefined): Promise; lock(cb: any): void; unlock(): void; update(key: string, value: any): Promise; }