21 lines
622 B
TypeScript
21 lines
622 B
TypeScript
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import { Agent as HttpAgent } from "http";
|
|
import { Agent as HttpsAgent } from "https";
|
|
import { Readable } from "stream";
|
|
import { debug as d } from "debug";
|
|
export { d as debug };
|
|
export declare const itrToStream: (itr: AsyncIterable<Uint8Array>) => Readable;
|
|
export declare function baseFetchConfig(apiRoot: string): {
|
|
compress: boolean;
|
|
agent: HttpsAgent;
|
|
} | {
|
|
agent: HttpAgent;
|
|
compress?: undefined;
|
|
} | {
|
|
compress?: undefined;
|
|
agent?: undefined;
|
|
};
|
|
export declare const defaultAdapter = "express";
|