19 lines
657 B
Plaintext
19 lines
657 B
Plaintext
import { Env } from "../../types.js";
|
|
import { Hono } from "../../hono.js";
|
|
//#region src/helper/ssg/utils.d.ts
|
|
/**
|
|
* Get dirname
|
|
* @param path File Path
|
|
* @returns Parent dir path
|
|
*/
|
|
export declare const dirname: (path: string) => string;
|
|
export declare const joinPaths: (...paths: string[]) => string;
|
|
interface FilterStaticGenerateRouteData {
|
|
path: string;
|
|
}
|
|
export declare const filterStaticGenerateRoutes: <E extends Env>(hono: Hono<E>) => FilterStaticGenerateRouteData[];
|
|
export declare const isDynamicRoute: (path: string) => boolean;
|
|
export declare const ensureWithinOutDir: (outDir: string, filePath: string) => void;
|
|
//#endregion
|
|
export {};
|