/**
 * macOS pre-flight setup for ShortcutXL.
 *
 * Steps: uv download → Python install → pip packages → Chrome detect → sheet engine → smoke test.
 * No Excel, no COM, no registry, no PowerShell.
 *
 * Shared uv/Python/sheet-engine logic lives in shared.ts — this module
 * provides the macOS uv download target and Chrome detection.
 */
import { existsSync } from 'fs';
import { ensureNewSheet, ensureUvPackages, ensureUvPython, ensureUv as ensureUvShared, smokeTestSheetEngine } from './shared.js';
import { header, log, ok } from './utils.js';
// Re-export shared functions so index.ts can call mac.ensureUvPython() etc.
export { ensureNewSheet, ensureUvPackages, ensureUvPython, smokeTestSheetEngine };
// ── uv download (macOS target) ──────────────────────────────────────────
export async function ensureUv() {
    return ensureUvShared('apple-darwin');
}
// ── Chrome ──────────────────────────────────────────────────────────────
export function ensureChromeMac() {
    header('Chrome');
    if (existsSync('/Applications/Google Chrome.app')) {
        ok('Chrome found — SEC filing support ready.');
    }
    else {
        log('Chrome not installed — Shortcut agent can set this up for SEC filing support.');
    }
}
//# sourceMappingURL=mac.js.map