import { Done } from '../../../../../Class/Functional/Done';
import { Semifunctional } from '../../../../../Class/Semifunctional';
import { System } from '../../../../../system';
import { Dict } from '../../../../../types/Dict';
import { IHTTPServerOpt } from '../../../../../types/global/IHTTPServer';
export interface IHTTPServerResponse {
    status: number;
    body: string;
}
export interface IHTTPClientRequest {
    method: 'GET' | 'POST';
    path: string;
    query: Dict<any>;
    body: string;
}
export declare type I = {
    opt: IHTTPServerOpt;
    port: number;
    res: IHTTPServerResponse;
    done: any;
};
export declare type O = {
    req: IHTTPServerResponse;
};
export default class _HTTPServer extends Semifunctional {
    private _server;
    constructor(system: System);
    f({ opt }: I, done: Done<O>): void;
    private _buffer;
    onIterDataInputData(name: string, data: any): void;
}
