import type { AdapterOptions, GracileHandler } from '../request.js'; export type GracileHonoHandler = (context: { req: { raw: Request; }; var: unknown; }) => Promise; export interface HonoAdapterOptions extends AdapterOptions { } /** * @param handler - Takes a pre-built Gracile handler from `./dist/server/entrypoint.js`. * @param options - If you need more control. * @example * `/src/server.js` * ```js * import { Hono } from 'hono'; * import { serve } from '@hono/node-server'; * * import * as gracile from '@gracile/gracile/hono'; * * import { handler } from './dist/server/entrypoint.js'; * * const app = new Hono(); * * app.use(gracile.honoAdapter(handler)); * * serve(app); * ``` */ export declare const honoAdapter: (handler: GracileHandler, options?: HonoAdapterOptions) => GracileHonoHandler; /** * * @param root - resolve `dist/client` from this file path. * @example * `/src/server.js` * ```js * import * as gracile from '@gracile/gracile/node'; * import { Hono } from 'hono'; * import { serveStatic } from '@hono/node-server/serve-static'; * * const app = new Hono(); * * app.get('*', serveStatic({ root: gracile.getClientBuildPath(import.meta.url) })); * ``` */ export declare function getClientBuildPath(root: string): string; export { printUrls } from '../utilities.js'; export { type GracileHandler } from '../request.js'; //# sourceMappingURL=hono.d.ts.map