import { CommonRequest, CommonResponse } from "servie/dist/common"; export declare class StatusError extends Error { response: CommonResponse; status: number; code: string; constructor(response: CommonResponse, message: string); } export declare function status(min?: number, max?: number): >(req: CommonRequest, next: () => Promise) => Promise;