export function withE2EDesktopBuildLock( options: { lockPath?: string; retryDelayMs?: number; timeoutMs?: number }, action: () => T, ): T;