///
import { IncomingHttpHeaders } from 'http';
import { InternalWebRequest } from '../../web/InternalWebRequest';
import { WebApplicationSettings } from '../../web/WebApplicationSettings';
import { Readable } from 'stream';
export declare function StreamToBuffer(stream: Readable): Promise;
export declare class KoaRequest extends InternalWebRequest {
data(): Promise;
context: any;
readonly ip: string;
readonly url: string;
readonly path: string;
readonly method: string;
params: any;
readonly query: any | null;
readonly headers: IncomingHttpHeaders;
body: any;
readonly country: string | null;
readonly device: string | null;
}