/**
 * Cross-platform file locking using directory creation
 *
 * mkdir is atomic on all platforms (Windows, macOS, Linux).
 * Extracted from hooks/platform.ts for reuse in core modules.
 */
export declare class FileLock {
    private lockDir;
    private pidFile;
    private acquired;
    constructor(lockPath: string);
    /**
     * Try to acquire lock
     * @param staleLockSeconds - Consider lock stale after this many seconds
     * @returns true if lock acquired, false if held by another process
     */
    acquire(staleLockSeconds?: number): boolean;
    /**
     * Release the lock
     */
    release(): void;
}
//# sourceMappingURL=file-lock.d.ts.map