import type { RouteManifestEntry } from "../manifest.ts"; import type { RouteTreeEntry } from "../tree.ts"; /** * Builds the ambient declaration for `moduleId`. It is self-contained and * replaces `filesystem-routing/types` — reference one or the other, never * both, or TypeScript sees two declarations of the same module. */ export declare function serializeTypes(moduleId: string, routes: readonly RouteManifestEntry[], pageRoutes: readonly RouteTreeEntry[], /** Directory the declaration is written to; module specifiers are relative to it. */ from: string, /** Whether lazy refs are delivered code-split (the default) or eagerly. */ codeSplitting?: boolean): string;