/// <reference types="node" />
import { Core } from "kamboja";
import * as Express from "express";
import { LoginUser } from "./login-user";
import * as Url from "url";
export declare class RequestAdapter implements Core.HttpRequest {
    request: Express.Request;
    contextType: "HttpRequest";
    httpVersion: string;
    httpMethod: Core.HttpMethod;
    headers: {
        [key: string]: string;
    };
    cookies: {
        [key: string]: string;
    };
    params: {
        [key: string]: string;
    };
    body: any;
    referrer: string;
    url: Url.Url;
    user: LoginUser;
    route: string;
    constructor(request: Express.Request);
    update(request: Express.Request): void;
    private findCaseInsensitive(obj, key);
    getHeader(key: string): string;
    getCookie(key: string): string;
    getParam(key: string): string;
    getAccepts(key: string | string[]): string | boolean;
    isAuthenticated(): boolean;
    getUserRole(): string;
}
