UNPKG

rasengan

Version:

The modern React Framework

9 lines (8 loc) 300 B
import { RouterProps } from '../types.js'; import { RouterComponent } from '../interfaces.js'; /** * This function adds metadata to a router * @param option * @returns */ export declare const defineRouter: (option: RouterProps) => (Router: new () => RouterComponent) => Promise<RouterComponent>;