/**
 * Validate a HotSite definition for v0.9.0 static-build constraints. Runs
 * only under `hotstaq build --static`; SSR mode ignores every rule here.
 *
 * See design/HS090-hotsite-schema.md "Validation Rules Enforced by Compiler".
 */
import { HotSite } from "../HotSite";
export interface HotSiteValidationIssue {
    code: string;
    /** Fatal for --static regardless of --strict. */
    severity: "error" | "warning";
    message: string;
    /** Dotted path into the HotSite object, e.g. `web.App.routes[2]`. */
    path?: string;
}
export interface HotSiteValidationResult {
    issues: HotSiteValidationIssue[];
    errors: HotSiteValidationIssue[];
    warnings: HotSiteValidationIssue[];
}
/**
 * Validate a HotSite for static-build readiness.
 *
 * The function never throws — callers decide whether to abort the build
 * based on `result.errors.length > 0` (and, optionally for warnings, on
 * `--strict`).
 */
export declare function validateHotSiteForStatic(site: HotSite): HotSiteValidationResult;
//# sourceMappingURL=validate-hotsite.d.ts.map