/** * A class that represents a HTTP response. * @deprecated Use the `ApiResponse` type and the `sendApiResponse` function. */ export declare class HttpResponse { readonly data: null | T; readonly error: null | string; readonly isOk?: () => boolean; readonly statusCode: number; constructor({ data, error, statusCode }: { data: null | T; error: null | string; statusCode: number; }); }