/** * Machine-level (not per-repo) hula settings, stored in * `~/.hublaunch/settings.json`. These are per-machine because the CLI itself is * installed per machine — e.g. whether to auto-update the CLI, and whether the * daily update check runs at all. Kept separate from the per-repo * `.hublaunch/hublaunch.config.js` on purpose. */ export interface GlobalSettings { /** When true, a newer CLI is installed automatically after the current command. */ autoUpdate?: boolean; /** When false, the once-a-day "update available" check is disabled. */ updateCheck?: boolean; } /** Default location of the global settings file. */ export declare function globalSettingsPath(): string; /** * Read `~/.hublaunch/settings.json`. A missing or corrupt file is treated as an * empty object (`{}`) so callers never have to handle read/parse failures — a * corrupt file is simply overwritten on the next {@link writeGlobalSettings}. */ export declare function readGlobalSettings(filePath?: string): GlobalSettings; /** * Merge `partial` into the existing settings and persist them, creating * `~/.hublaunch/` if needed. Returns the merged settings. A corrupt existing * file is discarded (treated as `{}`) before merging. */ export declare function writeGlobalSettings(partial: GlobalSettings, filePath?: string): GlobalSettings; //# sourceMappingURL=global-settings.d.ts.map