import type { AgnosticDataRouteObject, RouteManifest } from "../router/utils";
import type { FutureConfig } from "../dom/ssr/entry";
import type { Route } from "../dom/ssr/routes";
import type { ServerRouteModule } from "./routeModules";
export type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
export interface ServerRoute extends Route {
    children: ServerRoute[];
    module: ServerRouteModule;
}
export declare function createRoutes(manifest: ServerRouteManifest, parentId?: string, routesByParentId?: Record<string, Omit<ServerRoute, "children">[]>): ServerRoute[];
export declare function createStaticHandlerDataRoutes(manifest: ServerRouteManifest, future: FutureConfig, parentId?: string, routesByParentId?: Record<string, Omit<ServerRoute, "children">[]>): AgnosticDataRouteObject[];
