8 lines
274 B
TypeScript
8 lines
274 B
TypeScript
import * as needle from 'needle';
|
|
import { Payload } from './types';
|
|
export declare function makeRequest(payload: Payload): Promise<{
|
|
res: needle.NeedleResponse;
|
|
body: any;
|
|
}>;
|
|
export declare function streamRequest(payload: Payload): Promise<needle.ReadableStream>;
|