import { type LanguageModel } from 'ai'; import type { RunContext } from '../../types/run-context.js'; export interface InstrumentedGenerateObjectOptions { model: LanguageModel; schema: import('zod').ZodType; system?: string; messages?: import('ai').ModelMessage[]; prompt?: string; temperature?: number; abortSignal?: AbortSignal; providerOptions?: Record>; step?: number; /** Out-of-node control-path calls parent to the turn span, not a node span. */ controlPath?: boolean; } /** * Wraps `generateObject` with `model-call-start` / `model-call-end` events so * control-path model calls are visible in traces and token reconciliation. */ export declare function instrumentedGenerateObject(ctx: Pick & Partial>, options: InstrumentedGenerateObjectOptions): Promise;