Rocky_Mountain_Vending/.pnpm-store/v10/files/51/53444949158e7b89938e78469d03247bb3e92cd347c5f3ceb5280b89846dc5522447ab07808ee61ecc69b2c2d3b24ba7da4caaa00fa06a1b4759d52f9c1d25
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

28 lines
1.2 KiB
Text

import { HandlerDataFetch } from '../types-hoist/instrument';
/**
* Add an instrumentation handler for when a fetch request happens.
* The handler function is called once when the request starts and once when it ends,
* which can be identified by checking if it has an `endTimestamp`.
*
* Use at your own risk, this might break without changelog notice, only used internally.
* @hidden
*/
export declare function addFetchInstrumentationHandler(handler: (data: HandlerDataFetch) => void, skipNativeFetchCheck?: boolean): void;
/**
* Add an instrumentation handler for long-lived fetch requests, like consuming server-sent events (SSE) via fetch.
* The handler will resolve the request body and emit the actual `endTimestamp`, so that the
* span can be updated accordingly.
*
* Only used internally
* @hidden
*/
export declare function addFetchEndInstrumentationHandler(handler: (data: HandlerDataFetch) => void): void;
/**
* Parses the fetch arguments to find the used Http method and the url of the request.
* Exported for tests only.
*/
export declare function parseFetchArgs(fetchArgs: unknown[]): {
method: string;
url: string;
};
//# sourceMappingURL=fetch.d.ts.map