import type { ResourceIdentifier } from '../../http/representation/ResourceIdentifier';
import type { PromiseOrValue } from '../PromiseUtil';
import type { ExpiringReadWriteLocker } from './ExpiringReadWriteLocker';
export declare class VoidLocker implements ExpiringReadWriteLocker {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    constructor();
    withReadLock<T>(identifier: ResourceIdentifier, whileLocked: (maintainLock: () => void) => PromiseOrValue<T>): Promise<T>;
    withWriteLock<T>(identifier: ResourceIdentifier, whileLocked: (maintainLock: () => void) => PromiseOrValue<T>): Promise<T>;
}
