/**
 * Compose the full machine-provisioning scripts for a compute box from a
 * CloudConfig — PHP/nginx/Composer, on-box services + app database, host
 * firewall, auto-updates, monitoring, SSH keys, notifier, and scheduled
 * backups.
 *
 * Single source of truth shared by:
 *  - the **driver cold-boot** path (Hetzner cloud-init / AWS UserData), and
 *  - the **golden-image bake** (which runs the same provisioning then snapshots),
 * so a baked image and a cold boot install exactly the same stack.
 */
import type { CloudConfig } from '@ts-cloud/core';
export interface ComputeProvisionScripts {
    /** Effective runtime to install (bun/node/deno/php). */
    runtime: 'bun' | 'node' | 'deno' | 'php';
    /** Pinned runtime version (or 'latest'). */
    runtimeVersion: string;
    /** Whether this box runs PHP (drives UFW/auto-updates/monitoring defaults). */
    phpBox: boolean;
    /** nginx + php-fpm + Composer install commands (undefined for non-PHP boxes). */
    phpProvision?: string[];
    /** services + db + firewall + updates + monitoring + ssh + notifier + backups. */
    servicesProvision?: string[];
}
/**
 * Build the machine provisioning scripts from a CloudConfig. Returns the
 * pieces the Ubuntu bootstrap (and the image bake) splice in.
 */
export declare function buildComputeProvisionScripts(config: CloudConfig): ComputeProvisionScripts;
