/// <reference types="@adonisjs/application/build/adonis-typings" />
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext';
import type { ApplicationContract } from '@ioc:Adonis/Core/Application';
/**
 * Shield middleware to protect web applications against common
 * web attacks
 */
export declare class ShieldMiddleware {
    private application;
    private config;
    private encryption;
    /**
     * Resolve view provider, when exists
     */
    private view;
    /**
     * Actions to be performed
     */
    private actions;
    constructor(application: ApplicationContract);
    /**
     * Handle request
     */
    handle(ctx: HttpContextContract, next: () => Promise<void>): Promise<void>;
}
