import type { JSX } from "../../utils"; import type { PageEvent } from "../events"; export declare class UrlMapping { url: string; model: Model; template: RenderTemplate>; constructor(url: string, model: Model, template: RenderTemplate>); } /** * @param data the reflection to render * @returns either a string to be written to the file, or an element to be serialized and then written. */ export type RenderTemplate = (data: T) => JSX.Element | string;