@tanstack/ai
Version:
Type-safe TypeScript AI SDK for streaming chat, tool calling, agents, structured outputs, and multimodal generation.
8 lines (7 loc) • 363 B
TypeScript
/**
* JSON text with the keys of every object in sorted order. Arrays keep their
* order. A store can give a value back with its keys in another order
* (PostgreSQL `jsonb` does, and so does a schema parse), so compare or hash
* this, not `JSON.stringify`, when the value went through a store.
*/
export declare const stableJson: (value: unknown) => string;