/// import { Middleware } from "@halsp/core"; import { FileOptions, DirectoryOptions } from "../options"; import fs from "fs"; import { MatchResult } from "./match.middleware"; export declare abstract class BaseMiddleware extends Middleware { readonly options: FileOptions | DirectoryOptions; protected setFileResult(filePath: string, stats: fs.Stats, args?: { status?: number; dirHtml?: string; error?: string; }): Promise; private createErrorHtml; protected getErrorStats(error: string): Promise; }