import { type Value } from "convex/values"; import * as Order_ from "effect/Order"; import type * as Record from "effect/Record"; import * as Schema from "effect/Schema"; import type * as QueryStreamOrderDirection from "./QueryStreamOrderDirection"; declare const KeyValue: Schema.decodeTo, Schema.Codec, never, never>; /** * @experimental */ export type KeyValue = typeof KeyValue.Type; /** * @experimental */ export declare const QueryStreamKeyValues: Schema.$Array, Schema.Codec, never, never>>; /** * @experimental */ export type QueryStreamKeyValues = typeof QueryStreamKeyValues.Type; /** * `Order` over Convex values, matching Convex's index ordering—a wrapper around * the canonical `compareValues` from `convex/values` (type rank first, then * within the type, including UTF-8 string order and NaN bit-level ordering). * * @experimental */ export declare const ValueOrder: Order_.Order; /** * Compare key values in the requested direction. Ascending order is * lexicographic by `ValueOrder`, then by length, matching Convex array values; * descending order reverses it. * * @experimental */ export declare const Order: (orderDirection: QueryStreamOrderDirection.QueryStreamOrderDirection) => Order_.Order; /** * @experimental */ export declare const extract: (encoded: Record.ReadonlyRecord, keyPaths: ReadonlyArray>) => QueryStreamKeyValues; export {}; //# sourceMappingURL=QueryStreamKeyValues.d.ts.map