19 lines
569 B
Plaintext
19 lines
569 B
Plaintext
import { Env } from "../../types.js";
|
|
import { Hono } from "../../hono.js";
|
|
//#region src/helper/dev/index.d.ts
|
|
interface ShowRoutesOptions {
|
|
verbose?: boolean;
|
|
colorize?: boolean;
|
|
}
|
|
interface RouteData {
|
|
path: string;
|
|
method: string;
|
|
name: string;
|
|
isMiddleware: boolean;
|
|
}
|
|
export declare const inspectRoutes: <E extends Env>(hono: Hono<E>) => RouteData[];
|
|
export declare const showRoutes: <E extends Env>(hono: Hono<E>, opts?: ShowRoutesOptions) => void;
|
|
export declare const getRouterName: <E extends Env>(app: Hono<E>) => string;
|
|
//#endregion
|
|
export {};
|