import { ScalarResponse } from './entity'; export type Streamable = ScalarResponse; export default Streamable; export type Stream = (response: Streamable) => void | Promise; export type StreamableFactory = () => Stream | Promise;