Rocky_Mountain_Vending/.pnpm-store/v10/files/84/0527a9f19a3cb2966cf7894d2fb283fa6085025d2a3bad7b6b01b077c644ce10646271adb08d6b828beedba36b5424bfe6843a79c88e1a677c95a5306197c7
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

27 lines
1.1 KiB
Text

import { InstrumentedMethod, OpenAiChatCompletionObject, OpenAIResponseObject } from './types';
/**
* Maps OpenAI method paths to Sentry operation names
*/
export declare function getOperationName(methodPath: string): string;
/**
* Get the span operation for OpenAI methods
* Following Sentry's convention: "gen_ai.{operation_name}"
*/
export declare function getSpanOperation(methodPath: string): string;
/**
* Check if a method path should be instrumented
*/
export declare function shouldInstrument(methodPath: string): methodPath is InstrumentedMethod;
/**
* Build method path from current traversal
*/
export declare function buildMethodPath(currentPath: string, prop: string): string;
/**
* Check if response is a Chat Completion object
*/
export declare function isChatCompletionResponse(response: unknown): response is OpenAiChatCompletionObject;
/**
* Check if response is a Responses API object
*/
export declare function isResponsesApiResponse(response: unknown): response is OpenAIResponseObject;
//# sourceMappingURL=utils.d.ts.map