Public declaration syntax from forge-ts/packages/forge-generate/src/object.ts Original source SHA-256: fa20e2428020f59767e7248b0d7521584e03d8ceb38d2ea877d8a2fba1349d42 Function bodies and constant values are omitted. This is not the complete implementation. Source line 47 export interface ObjectResult { /** The deserialized object. */ readonly object: T; /** The raw JSON string from the model output. */ readonly rawJson: string; /** Token usage statistics. */ readonly usage: Usage; /** Why generation stopped. */ readonly finishReason: FinishReason; } Source line 83 export async function generateObject( model: LanguageModel, messages: readonly ModelMessage[], schema: JsonSchema, options: GenerateOptions ): Promise>; Source line 164 export async function streamObject( model: LanguageModel, messages: readonly ModelMessage[], schema: JsonSchema, options: GenerateOptions ): Promise>;