/** * Utilities for working with Large Language Model responses. */ export declare class Response { /** * Fuzzy JSON parser. * @param text text to parse. * @returns The parsed object or undefined if the object could not be parsed. */ static parseJSON(text: string): TObject | undefined; /** * Removes any empty fields from an object. * * @remarks * Empty fields include `null`, `undefined`, `[]`, `{}`, and `""`. * @param obj The object to clean. * @returns A cleaned object. */ static removeEmptyValuesFromObject(obj: Record): Record; } //# sourceMappingURL=Response.d.ts.map