/** * Script Page Handling (TS/JS files) * * Handles rendering of plain TS/JS script pages that return HTML or Response objects. * Supports both local file imports and remote file transpilation via esbuild. */ import type { ComponentProps, EntityInfo, RenderResult } from "../types/index.js"; import type { VeryfrontConfig } from "../config/index.js"; import type { RuntimeAdapter } from "../platform/adapters/base.js"; interface ScriptPageOptions { mode: string; config: VeryfrontConfig; projectDir: string; adapter: RuntimeAdapter; params?: Record; url?: URL; props?: ComponentProps; nonce?: string; /** Release that owns the immutable hydration runtime for wrapped output. */ releaseId?: string; /** Immutable dependency snapshot that owns all browser work for this document. */ dependencyPinningCacheKey?: string; dependencyPinningDependencies?: Readonly>; } export declare function handleScriptPage(pageInfo: EntityInfo, slug: string, options: ScriptPageOptions): Promise; export {}; //# sourceMappingURL=script-page-handling.d.ts.map