export interface ServeStaticOptions { /** URL prefix these files are served under, e.g. `/assets`. */ prefix: string; /** Filesystem directory to serve from. */ root: string; /** `Cache-Control: public, max-age=` when set. */ maxAge?: number; } /** * Build a static-file handler. Returns a function that resolves a request to a * file `Response`, or `null` when the request is outside this mount (so the * caller can fall through to routing). Path traversal outside `root` yields a * 404 (never a file outside root). */ export declare const createStaticFileServer: (options: ServeStaticOptions) => ((request: Request) => Promise); //# sourceMappingURL=serve-static.d.ts.map