@zerospacegg/anrubic
Version:
Anrubic - ZeroSpace.gg MCP Server for AI agents to access game data
42 lines (33 loc) • 875 B
TypeScript
declare module "../../scripts/pkl-utils/dynamic-evaluator.js" {
export class PklDynamicEvaluator {
constructor(options?: {
tempDir?: string;
cacheEnabled?: boolean;
pklCommand?: string;
});
evaluateTemplate(
template: string,
context?: any,
options?: {
timeout?: number;
format?: string;
}
): Promise<any>;
buildSearchTemplate(
entityType: string,
searchTerm: string,
filters?: any,
context?: any
): string;
buildVariantTemplate(
entityType: string,
entityId: string,
variantParams?: any
): string;
buildShotsToKillTemplate(unitA: string, unitB: string): string;
buildAggregationTemplate(aggregationType: string, params?: any): string;
healthCheck(): Promise<any>;
clearCache(): void;
getCacheStats(): any;
}
}