import { Context, Env, MiddlewareHandler } from "hono"; //#region src/serve-static.d.ts type ServeStaticOptions = { /** * Root path, relative to current working directory from which the app was started. Absolute paths are not supported. */ root?: string; path?: string; index?: string; precompressed?: boolean; rewriteRequestPath?: (path: string, c: Context) => string; onFound?: (path: string, c: Context) => void | Promise; onNotFound?: (path: string, c: Context) => void | Promise; }; declare const serveStatic: (options?: ServeStaticOptions) => MiddlewareHandler; //#endregion export { ServeStaticOptions, serveStatic };