import { scanRoutes } from "../router/route-scanner.js"; import type { AdapterOptions } from "./index.js"; /** * Shared helper: copy a directory recursively. */ export declare function copyStatic(from: string, to: string): Promise; /** * Build a self-contained SSR entry file for a platform adapter. * The generated module exports a default `handler(request: Request): Response` * and embeds the full route table plus a registry of all page/layout/data/ * action modules so the runtime never touches the file system. */ export declare function buildSsrEntry(routes: Awaited>, options: AdapterOptions, entryDir: string): Promise; /** * Write a generated SSR entry file for an adapter. */ export declare function writeSsrEntry(entryPath: string, routes: Awaited>, options: AdapterOptions): Promise;