HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory_new/webapp/node_modules/@hono/node-server/dist/serve-static.d.mts
import { Env, Context, MiddlewareHandler } from 'hono';

type ServeStaticOptions<E extends Env = Env> = {
    /**
     * 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<E>) => string;
    onFound?: (path: string, c: Context<E>) => void | Promise<void>;
    onNotFound?: (path: string, c: Context<E>) => void | Promise<void>;
};
declare const serveStatic: <E extends Env = any>(options?: ServeStaticOptions<E>) => MiddlewareHandler<E>;

export { ServeStaticOptions, serveStatic };