import type { LockState } from '../../../core/task-parser.js'; export declare function getOwnerIdentity(): string; export declare function readLock(project: string): LockState | null; export declare function writeLock(project: string, lock: LockState | null): void; export declare function acquireLock(project: string, opts: { owner: string; force?: boolean; note?: string; }): { acquired: boolean; lock?: LockState; message?: string; }; export declare function releaseLock(project: string, owner: string, opts?: { force?: boolean; }): { released: boolean; message?: string; }; export declare function assertLockHeld(project: string, owner: string): string | null; export declare function isProjectLocked(project: string, now?: string): { locked: boolean; owner?: string; expiresAt?: string; };