import { z } from 'zod'; import { ChatHistory } from '../../types/types'; import { StructuredToolInterface } from '@langchain/core/tools'; import { AIMessage } from '@langchain/core/messages'; import { ChatModelTier } from '../../models/types'; type BaseOptions = { promptText: string; modelTier?: ChatModelTier; temperature?: number; messages?: ChatHistory; inputVariables?: Record; }; /** * Invokes a prompt and returns a plain text response. * Use this when you just need free-form text from the model. */ export declare const invokeTextPrompt: (opts: BaseOptions) => Promise; /** * Invokes a prompt and returns structured data validated against a schema. * Use this when you need a predictable, typed result. */ export declare const invokeStructuredPrompt: (opts: BaseOptions & { schema: z.ZodType; }) => Promise; /** * Invokes a prompt with tools enabled and returns the model’s tool call response. * Use this when the model needs to decide whether to call a tool. */ export declare const invokeToolPrompt: (opts: BaseOptions & { tools: StructuredToolInterface[]; }) => Promise; export {};