20 lines
756 B
Plaintext
20 lines
756 B
Plaintext
import { HonoBase as Hono$1, HonoOptions } from "./hono-base.js";
|
|
import { BlankEnv, BlankSchema, Env, Schema } from "./types.js";
|
|
//#region src/hono.d.ts
|
|
/**
|
|
* The Hono class extends the functionality of the HonoBase class.
|
|
* It sets up routing and allows for custom options to be passed.
|
|
*
|
|
* @template E - The environment type.
|
|
* @template S - The schema type.
|
|
* @template BasePath - The base path type.
|
|
*/
|
|
export declare class Hono<E extends Env = BlankEnv, S extends Schema = BlankSchema, BasePath extends string = '/'> extends Hono$1<E, S, BasePath> {
|
|
/**
|
|
* Creates an instance of the Hono class.
|
|
*
|
|
* @param options - Optional configuration options for the Hono instance.
|
|
*/
|
|
constructor(options?: HonoOptions<E>);
|
|
}
|
|
//#endregion |