export declare class Locker { private static lockSet; static lock(key: string, func: () => Promise, log?: boolean): Promise; } export declare enum LockResult { SUCCESS = "success", ALREADY_RUNNING = "alreadyRunning", ERROR = "error" }