/** * StaticSiteBuilder — FrameworkBuilder implementation for static-site apps. * * Detects a `type: "staticsite"` PatternFactory call in infrastructure.ts, * produces a single-stack (Cdn) build plan, and runs the app's own build * command to produce the static artefacts that CDK's BucketDeployment then * uploads to S3. * * Priority 50 — strictly between OpenNext (10) and Docker (100). This is * load-bearing: without it the Docker catch-all (priority 100) would claim * the static site and emit a container deployment plan. * * Unlike OpenNext, the build command and its working directory are not * hardcoded — they are the app's own, read out of infrastructure.ts with the * generator's AST parser (`@fjall/generator` is already a dependency, and its * barrel already pulls the parser in, so this costs nothing over a regex). */ import type { FrameworkBuilder } from "../../types/frameworkBuilder.js"; /** Default static-site build timeout: 10 minutes (mirrors the OpenNext budget) */ export declare const STATIC_BUILD_TIMEOUT_MS = 600000; /** * Static-site FrameworkBuilder. * * Priority 50 — checked after OpenNext (more specific) and before Docker * (the fallback catch-all). */ export declare const staticSiteBuilder: FrameworkBuilder;