export type LockedFunc = (key: string, fn: () => Promise) => Promise; /** * Save promises for later */ export declare function locking(): LockedFunc;