import { type Agent, type Model, type ModelRequest, type ModelResponse, type StreamEvent } from '@openai/agents-core'; import { type ModelActivityOptions } from '../common/model-activity-options'; import { type SerializedModelRequest } from '../common/serialized-model'; export declare function toSerializedModelRequest(request: ModelRequest): SerializedModelRequest; /** * Model implementation that delegates each call to a Temporal Activity, so all * LLM calls execute on the Activity Worker (where real ModelProviders live). */ export declare class ActivityBackedModel implements Model { private readonly modelName; private readonly activities; private readonly modelParams; private agent?; constructor(modelName: string, modelParams: ModelActivityOptions); setAgent(agent: Agent): void; getResponse(request: ModelRequest): Promise; getStreamedResponse(request: ModelRequest): AsyncIterable; }