Rocky_Mountain_Vending/.pnpm-store/v10/files/6b/92834643d596a976ac047214d9159ddc7a573e073321aa8a5406df9199ac9031c936299f06e735ffd87349c089e8cab7b9274fed3bd0c9019ab4fa916fac34
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

37 lines
No EOL
1.5 KiB
Text

/**
* Message validation functions for MCP server instrumentation
*
* Provides JSON-RPC 2.0 message type validation and MCP server instance validation.
*/
import type { JsonRpcNotification, JsonRpcRequest, JsonRpcResponse } from './types';
/**
* Validates if a message is a JSON-RPC request
* @param message - Message to validate
* @returns True if message is a JSON-RPC request
*/
export declare function isJsonRpcRequest(message: unknown): message is JsonRpcRequest;
/**
* Validates if a message is a JSON-RPC notification
* @param message - Message to validate
* @returns True if message is a JSON-RPC notification
*/
export declare function isJsonRpcNotification(message: unknown): message is JsonRpcNotification;
/**
* Validates if a message is a JSON-RPC response
* @param message - Message to validate
* @returns True if message is a JSON-RPC response
*/
export declare function isJsonRpcResponse(message: unknown): message is JsonRpcResponse;
/**
* Validates MCP server instance with type checking
* @param instance - Object to validate as MCP server instance
* @returns True if instance has required MCP server methods
*/
export declare function validateMcpServerInstance(instance: unknown): boolean;
/**
* Check if the item is a valid content item
* @param item - The item to check
* @returns True if the item is a valid content item, false otherwise
*/
export declare function isValidContentItem(item: unknown): item is Record<string, unknown>;
//# sourceMappingURL=validation.d.ts.map