import type { HttpContentType } from './utils'; import type { Byte } from '@principia/base/Byte'; import type { Chunk } from '@principia/base/Chunk'; import type { IO } from '@principia/base/IO'; import * as S from '@principia/base/Stream'; export declare abstract class HttpEntity { readonly _R: (_: R) => void; readonly _E: () => E; readonly _A: () => A; abstract readonly contentType: HttpContentType; abstract run(): IO; } export declare class Strict extends HttpEntity> { readonly contentType: HttpContentType; readonly data: ReadonlyArray; readonly _tag = "Strict"; constructor(contentType: HttpContentType, data: ReadonlyArray); run(): IO; } export declare class Stream extends HttpEntity> { readonly contentType: HttpContentType; readonly stream: S.Stream; readonly _tag = "Stream"; constructor(contentType: HttpContentType, stream: S.Stream); run(): IO>; } //# sourceMappingURL=HttpEntity.d.ts.map