* @since 24.0.0 */ public function getLocks(int $fileId): array; /** * @throws PreConditionNotMetException * @throws OwnerLockedException * @throws NoLockProviderException * @since 24.0.0 */ public function lock(LockContext $lockInfo): ILock; /** * @throws PreConditionNotMetException * @throws NoLockProviderException * @since 24.0.0 */ public function unlock(LockContext $lockInfo): void; }