fauna
Version:
A driver to query Fauna databases in browsers, Node.js, and other Javascript runtimes
10 lines (9 loc) • 560 B
TypeScript
import { HTTPClient, HTTPClientOptions, HTTPResponse, HTTPStreamClient } from "./http-client";
export * from "./paths";
export * from "./fetch-client";
export * from "./http-client";
export * from "./node-http2-client";
export declare const getDefaultHTTPClient: (options: HTTPClientOptions) => HTTPClient & HTTPStreamClient;
export declare const isHTTPResponse: (res: any) => res is HTTPResponse;
export declare const isStreamClient: (client: Partial<HTTPStreamClient>) => client is HTTPStreamClient;
export declare const nodeHttp2IsSupported: () => boolean;