import { IMiddleware, IgnoreMatcher } from '@midwayjs/core'; import { SecurityOptions } from '../interface'; export declare abstract class BaseMiddleware implements IMiddleware { security: SecurityOptions; match: IgnoreMatcher[]; ignore: IgnoreMatcher[]; init(): Promise; resolve(app: any): (req: any, res: any, next: any) => Promise; abstract compatibleMiddleware(context: any, req: any, res: any, next: any): any; abstract securityName(): string; } //# sourceMappingURL=base.d.ts.map