import type { HttpRequest } from "../../http";
import type { ViewRoutes } from "../../http/ViewRouter";
export type ViewRouteExec = (req: HttpRequest<any, any>) => any;
export type FlatViewRoutes = Record<string, {
    exec: ViewRouteExec[];
    middleware: (string | any)[];
    viewPath: string;
}>;
export declare function createFlatViewRoutes(routes: ViewRoutes): {
    [k: string]: {
        exec: ViewRouteExec[];
        middleware: (string | any)[];
        viewPath: string;
    };
};
//# sourceMappingURL=createFlatViewRoutes.d.ts.map