mirror of
https://github.com/Onewon/claude-code.git
synced 2026-04-26 23:01:23 +03:00
Add all the original files from the deleted 0.2.8 npm package
This commit is contained in:
12
vendor/sdk/internal/decoders/jsonl.d.ts
vendored
Normal file
12
vendor/sdk/internal/decoders/jsonl.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { type Response } from "../../_shims/index.js";
|
||||
import { type Bytes } from "./line.js";
|
||||
export declare class JSONLDecoder<T> {
|
||||
private iterator;
|
||||
controller: AbortController;
|
||||
constructor(iterator: AsyncIterableIterator<Bytes>, controller: AbortController);
|
||||
private decoder;
|
||||
[Symbol.asyncIterator](): AsyncIterator<T>;
|
||||
static fromResponse<T>(response: Response, controller: AbortController): JSONLDecoder<T>;
|
||||
}
|
||||
//# sourceMappingURL=jsonl.d.ts.map
|
||||
Reference in New Issue
Block a user