import type { Options } from '../types.js'; import extract from './extract.js'; import file from './file.js'; import head from './head.js'; import json from './json.js'; import pipe from './pipe.js'; import stream from './stream.js'; import text from './text.js'; export default class Response { endpoint: string; options: Options; constructor(endpoint: string, options?: Options); extract: typeof extract; file: typeof file; head: typeof head; json: typeof json; pipe: typeof pipe; stream: typeof stream; text: typeof text; }