/** * Filters for serving static files * @packageDocumentation */ import { Filter } from "../filter"; import { Reply } from ".."; /** * Serves a static file * * @param path - Path to the file */ export declare function file(path: string): Filter<[Reply]>; /** * Serves as static directory and its subdirectories * * @param path - Path to the directory * @param index - Whether to look for an `index.html` file in a directory when the directory itself is requested */ export declare function directory(path: string, index?: boolean): Filter<[Reply]>;