import type { Middleware } from 'koa';
import type { SetOption } from 'cookies';

export declare const csrfMiddleware: (options?: CsrfOptions) => Middleware;

export declare type CsrfOptions = {
    cookieName?: string;
    headerName?: string;
    cookieOptions?: SetOption;
    disableWithoutOrigin?: boolean;
    allowedOrigins?: string[];
};

export { }
