@simonecoelhosfo/optimizely-mcp-server
Version:
Optimizely MCP Server for AI assistants with integrated CLI tools
35 lines • 1.04 kB
TypeScript
/**
* AnalyticalFunctions - Pre-built query templates for common analytics tasks
*/
import { QueryTemplate, EnhancedQueryIntent } from './types.js';
export declare class AnalyticalFunctions {
private templates;
constructor();
/**
* Get all available templates
*/
getTemplates(): QueryTemplate[];
/**
* Get templates by category
*/
getTemplatesByCategory(category: string): QueryTemplate[];
/**
* Get a specific template
*/
getTemplate(id: string): QueryTemplate | undefined;
/**
* Apply a template with parameters
*/
applyTemplate(templateId: string, params: Record<string, any>): EnhancedQueryIntent;
/**
* Register a custom template
*/
registerTemplate(template: QueryTemplate): void;
private initializeTemplates;
private validateTemplateParams;
private buildIntentFromTemplate;
private substituteParams;
private inferEntityFromQuery;
private inferAggregations;
}
//# sourceMappingURL=AnalyticalFunctions.d.ts.map