import type { ReadonlyBinding } from '../binding/types/readonly-binding'; /** * Checks if any of the specified bindings have been locked. * * @param bindings - The bindings to check * * @returns `true` if any of the specified bindings are locked, `false` otherwise. */ export declare const areAnyBindingsLocked: (bindings: Array) => boolean; /** * Locks all the specified bindings and returns a function for unlocking them in reverse order. * * @param bindings - The bindings to be locked * * @returns a function to unlock all of the specified bindings, in reverse order */ export declare const lockAllBindings: (bindings: Array) => () => void; /** * Locks the specified bindings until the functions result is resolved or rejected * * @param bindings - The bindings to be locked * @param func - The function to run while the bindings are locked * * @returns The result of the specified function */ export declare const lockBindingsAndDo: (bindings: Array, func: () => Promise | T) => Promise | T; //# sourceMappingURL=lock-utils.d.ts.map