Rocky_Mountain_Vending/.pnpm-store/v10/files/0a/87990069ba97f816feb7d4f6603a6868a8487ae638e5cc28976083fd89e18795fb731fbf4297b4594696b7d35057a717f7fd29b008a553d9ed083714c17a6b
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

44 lines
1.1 KiB
Text

/**
* Telemetry tracker for MCP tool call usage.
* Tracks invocation counts for each MCP tool to be reported via telemetry.
*/
import type { McpToolName } from '../../telemetry/events/build';
export interface McpToolUsage {
featureName: McpToolName;
invocationCount: number;
}
declare class McpTelemetryTracker {
private usageMap;
/**
* Record a tool call invocation
*/
recordToolCall(toolName: McpToolName): void;
/**
* Get all tool usages as an array
*/
getUsages(): McpToolUsage[];
/**
* Reset all usage tracking
*/
reset(): void;
/**
* Check if any tools have been called
*/
hasUsage(): boolean;
}
export declare const mcpTelemetryTracker: McpTelemetryTracker;
/**
* Get MCP tool usage telemetry
*/
export declare function getMcpTelemetryUsage(): McpToolUsage[];
/**
* Reset MCP telemetry tracker
*/
export declare function resetMcpTelemetry(): void;
/**
* Record MCP telemetry usage to the telemetry instance
*/
export declare function recordMcpTelemetry(telemetry: {
record: (event: any) => void;
}): void;
export {};