@jay-js/system
Version:
A powerful and flexible TypeScript library for UI, state management, lazy loading, routing and managing draggable elements in modern web applications.
5 lines (4 loc) • 335 B
TypeScript
import type { TRouteInstance } from "../../types";
export declare function renderRoute(route: TRouteInstance): Promise<HTMLElement | undefined>;
export declare function getElement(route: TRouteInstance): Promise<HTMLElement | undefined>;
export declare function getTarget(route: TRouteInstance): Promise<string | Element | undefined>;