first commit

This commit is contained in:
Ichitux
2026-04-05 03:08:53 +02:00
commit 1082d36c12
28015 changed files with 3767672 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import type { ProtocolEncoding } from "../client.js";
import { Cursor } from "../cursor.js";
import type * as proto from "./proto.js";
import type { HttpStream } from "./stream.js";
export declare class HttpCursor extends Cursor {
#private;
/** @private */
constructor(stream: HttpStream, encoding: ProtocolEncoding);
open(response: Response): Promise<proto.CursorRespBody>;
/** Fetch the next entry from the cursor. */
next(): Promise<proto.CursorEntry | undefined>;
/** Close the cursor. */
close(): void;
/** @private */
_setClosed(error: Error): void;
/** True if the cursor is closed. */
get closed(): boolean;
}