import { CommonRequest, CommonResponse } from "servie/dist/common"; export declare function auth(username: string, password: string): , U extends CommonResponse>(req: T, next: () => Promise) => Promise;