/** * Encodes a single cursor value as a tagged chunk. * * A nullish value is a chunk like any other. A cursor is an opaque position handed back to the * server, and refusing to write one for a nullable column breaks every edge of the page rather * than only a request that pages from that row. */ export declare function encodeCursorChunk(value: unknown): string; /** * Encodes several cursor values as one chunk, each part keeping its own tag. * * A nullish part is a JSON `null` rather than a `Z:` chunk, which is what compound cursors * already in the wild hold, and they have to keep decoding byte for byte the same way. */ export declare function encodeCursorTuple(values: readonly unknown[]): string; /** * Reads a tagged chunk back. A `T:` chunk yields an array; every other tag yields the value. * * A decimal comes back as its exact decimal string rather than as a `Decimal`: this module has * no decimal class to build, and both ORMs accept a decimal string wherever they accept one. */ export declare function decodeCursorChunk(chunk: unknown): unknown; //# sourceMappingURL=cursors.d.ts.map