import { Context, Application } from 'egg'; import { RouteType } from '../type'; export declare const SkipAuthSymbol: unique symbol; export declare const authMiddleware: (app: Application, typeInfo: RouteType) => (ctx: Context, next: any) => Promise;