/** * Migration wrapper for existing llmProcessor functions * This file provides backward compatibility while using the new optimized architecture */ import { ChatMessage } from './ai/types.js'; /** * Migration Helper Processor * Utility class to handle common AI operations in the migration layer * * @class MigrationHelperProcessor * @description Provides common utility functions for handling AI operations * in the backward compatibility migration layer. Simplifies error handling * and message creation. */ 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; } export declare function getAiCoreValues(context: string): Promise; export declare function getAiProjectPurpose(context: string): Promise; export declare function getAiMissionVisionAndCoreValues(context: string): Promise; export declare function getAiProjectManagementPlan(context: string): Promise; export declare function getAiDirectAndManageProjectWorkProcess(context: string): Promise; export declare function getAiPlanScopeManagement(context: string): Promise; /** * Generates a PMBOK-compliant Perform Integrated Change Control process document * * @param {string} context - Project context information * @returns {Promise} Process document or null if generation fails */ export declare function getAiPerformIntegratedChangeControlProcess(context: string): Promise; /** * Generates a PMBOK-compliant Close Project or Phase process document * * @param {string} context - Project context information * @returns {Promise} Process document or null if generation fails */ export declare function getAiCloseProjectOrPhaseProcess(context: string): Promise; export declare function getAiRequirementsManagementPlan(context: string): Promise; /** * Utility function to easily migrate existing functions from llmProcessor * * @param {string} functionName - Name of the function being migrated (for logging) * @param {string} systemPrompt - System prompt defining the AI's role * @param {string} userPromptTemplate - Template string with ${context} placeholder * @param {string} context - The context to use in the prompt * @param {number} maxTokens - Maximum tokens for the AI response * @param {string[]} contextDocuments - List of documents to enhance context with * @returns {Promise} The AI-generated content or null if operation fails */ declare function migrateExistingFunction(functionName: string, systemPrompt: string, userPromptTemplate: string, context: string, maxTokens?: number, contextDocuments?: string[]): Promise; export { migrateExistingFunction }; export declare function getAiSummaryAndGoals(readmeContent: string): Promise; export declare function getAiUserStories(context: string): Promise; export declare function getAiUserPersonas(context: string): Promise; export declare function getAiKeyRolesAndNeeds(context: string): Promise; export declare function getAiAcceptanceCriteria(context: string): Promise; export declare function getAiRequirementsDocumentation(context: string): Promise; export declare function getAiRequirementsTraceabilityMatrix(context: string): Promise; export declare function getAiDataModelSuggestions(context: string): Promise; export declare function getAiTechStackAnalysis(context: string): Promise; export declare function getAiRiskAnalysis(context: string): Promise; export declare function getAiComplianceConsiderations(context: string): Promise; export declare function getAiUiUxConsiderations(context: string): Promise; export declare function getAiStakeholderRegister(context: string): Promise; export declare function getAiStakeholderAnalysis(context: string): Promise; export declare function getAiWbs(context: string): Promise; export declare function getAiWbsDictionary(context: string): Promise; export declare function getAiScopeBaseline(context: string): Promise; export declare function getAiActivityList(context: string): Promise; export declare function getAiActivityAttributes(context: string): Promise; export declare function getAiActivitySequencing(context: string): Promise; export declare function getAiResourceRequirements(context: string): Promise; export declare function getAiScheduleManagementPlan(context: string): Promise; export declare function getAiCostManagementPlan(context: string): Promise; export declare function getAiQualityManagementPlan(context: string): Promise; export declare function getAiResourceManagementPlan(context: string): Promise; export declare function getAiCommunicationManagementPlan(context: string): Promise; export declare function getAiRiskManagementPlan(context: string): Promise; export declare function getAiProcurementManagementPlan(context: string): Promise; export declare function getAiStakeholderEngagementPlan(context: string): Promise; export declare function getAiProjectCharter(context: string): Promise; export declare function getAiValidateScope(context: string): Promise; export declare function getAiControlScope(context: string): Promise; export declare function getAiMonitorAndControlProjectWorkProcess(context: string): Promise; export { AIProcessor, ProcessorFactory } from './ai/index.js'; declare let providerMetrics: Map; declare function initializeProviderMetrics(): Map; export { providerMetrics, initializeProviderMetrics }; export declare function getAiScopeManagementPlan(context: string): Promise; export declare function getAiProjectScopeStatement(context: string): Promise; export declare function getAiScheduleNetworkDiagram(context: string): Promise; export declare function getAiMilestoneList(context: string): Promise; export declare function getAiDevelopScheduleInput(context: string): Promise; //# sourceMappingURL=llmProcessor-migration.d.ts.map