/// import { Stream } from 'stream'; export declare function streamRequest(method: 'GET' | 'POST', url: string, headers: Record, body?: Record, attempt?: number): Promise<{ stream: Stream; close: () => void; }>;