import { a as GQP } from '../../engine-CGhQCS5X.js'; import '../../types-CqJN-Ev5.js'; /** * Vercel AI SDK Bridge for GQP * Creates Vercel AI SDK tools from GQP graph */ /** * Vercel AI tool options */ interface VercelAIBridgeOptions { /** Custom tool name */ name?: string; /** Custom description */ description?: string; } /** * Create Vercel AI SDK tool from GQP * * @example * ```typescript * import { createTools } from '@mzhub/gqp/vercel-ai'; * import { streamText } from 'ai'; * import { openai } from '@ai-sdk/openai'; * * const tools = createTools(graph); * * const result = await streamText({ * model: openai('gpt-4-turbo'), * prompt: 'Find customers with high-value orders', * tools, * }); * ``` */ declare function createTools(graph: GQP, options?: VercelAIBridgeOptions): Promise>; /** * Create separate tools for each action */ declare function createActionTools(graph: GQP, options?: VercelAIBridgeOptions): Promise>; /** * Get tool schema for manual use */ declare function getToolSchema(graph: GQP, options?: VercelAIBridgeOptions): { name: string; description: string; parameters: object; }; export { type VercelAIBridgeOptions, createActionTools, createTools, getToolSchema };