import type { IncomingMessage, ServerResponse } from 'http';
export interface CsrfMiddlewareContext {
    pathname: string;
    req: IncomingMessage;
    res: ServerResponse;
}
export declare function csrfValidation(ctx: CsrfMiddlewareContext): Promise<boolean>;
//# sourceMappingURL=csrf-middleware.d.ts.map