/**
 * WSL2 distro import and setup.
 *
 * Handles importing a rootfs tarball into WSL2 and verifying the result.
 * The rootfs path and distro storage dir are provided by the caller —
 * this package has no opinion about where they live.
 */
export interface WslSetupOptions {
    /** WSL distro name (e.g., 'shortcutxl'). */
    distro: string;
    /** Directory where the WSL distro will be stored. */
    wslDir: string;
    /** Path to the rootfs tarball (e.g., alpine-minirootfs.tar.gz). */
    rootfsPath: string;
    /** Package version — used to detect stale rootfs and auto-update. */
    version?: string;
}
export interface WslSetupResult {
    installed: boolean;
    error?: string;
}
/**
 * Ensure the WSL2 sandbox distro is ready.
 *
 * 1. Verify WSL2 is available
 * 2. Check if distro already exists → smoke test
 * 3. Import rootfs via `wsl --import` → smoke test
 */
export declare function ensureWslSandbox(options: WslSetupOptions): Promise<WslSetupResult>;
/**
 * Enable WSL2 on a machine that doesn't have it yet.
 * Requires admin privileges (will trigger UAC prompt).
 */
export declare function enableWsl2(): {
    success: boolean;
    needsReboot: boolean;
    error?: string;
};
//# sourceMappingURL=wsl-setup.d.ts.map