import type { WriteStream } from 'fs'; export default class HttpRequester { private readonly token; private readonly options; private readonly deserializer; private get baseUrl(); constructor(token: string, options: { prefix?: string; url: string; }); query({ method, path, body, query, maxTimeAllowed, contentType, }: { method: 'get' | 'post' | 'put' | 'delete'; path: string; body?: Record; query?: Record; maxTimeAllowed?: number; contentType?: 'application/json' | 'text/csv'; }): Promise; stream({ path: reqPath, query, contentType, maxTimeAllowed, stream, }: { path: string; query?: Record; contentType: 'text/csv'; maxTimeAllowed?: number; stream: WriteStream; }): Promise; static escapeUrlSlug(name: string): string; static is404Error(error: unknown): boolean; private buildUrl; } //# sourceMappingURL=http-requester.d.ts.map