/** * Migration Helper Processor * Utility class to handle common AI operations in the migration layer */ import { ChatMessage } from "./types.js"; export declare class MigrationHelperProcessor { /** * Creates standard message array for AI calls * * @param {string} systemPrompt - System prompt defining the AI's role * @param {string} userPrompt - The main prompt content to send * @returns {ChatMessage[]} Formatted chat message array */ static createMessages(systemPrompt: string, userPrompt: string): ChatMessage[]; /** * Generic handler for AI function calls with proper error handling * * @param {Function} operation - Async function that makes the actual AI call * @param {string} operationName - Name of the operation for logging and metrics * @returns {Promise} AI-generated content or null if operation fails */ static handleAICall(operation: () => Promise, operationName: string): Promise; } //# sourceMappingURL=MigrationHelperProcessor.d.ts.map