import { IMiddleware } from '@midwayjs/core';
import { Context, NextFunction } from '@midwayjs/koa';
export declare class MagicMiddleware implements IMiddleware<Context, NextFunction> {
    private magicApi;
    private magicConfig;
    resolve(): (ctx: Context, next: NextFunction) => Promise<unknown>;
    match(ctx: any): boolean;
    static getName(): string;
}
