import { HttpStatus } from './http-status';
export declare class ResponseEntity<T> {
    private readonly code;
    private readonly body?;
    constructor(httpStatus: HttpStatus, body?: T);
    static ok<T>(body: T): ResponseEntity<T>;
    static internalServerError(): ResponseEntity<string>;
    static httpStatus(httpStatus: HttpStatus): ResponseEntity<string>;
    getCode(): number;
    getBody(): T | undefined;
}
