UNPKG

@tai-kun/surrealdb

Version:

The SurrealDB SDK for JavaScript

8 lines 473 B
import type { Uint8ArrayLike } from "@tai-kun/surrealdb/types"; import { StatefulPromise } from "@tai-kun/surrealdb/utils"; import { type DecoderOptions } from "./decoder"; export interface DecodeStreamOptions extends DecoderOptions { readonly signal?: AbortSignal | undefined; } export default function decodeStream(input: ReadableStream<Uint8ArrayLike>, options?: DecodeStreamOptions | undefined): StatefulPromise<unknown>; //# sourceMappingURL=decode-stream.d.ts.map