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

32 lines
No EOL
1.3 KiB
Text

import type { Envelope, EnvelopeItemType } from '../types-hoist/envelope';
import type { Event } from '../types-hoist/event';
import type { BaseTransportOptions, Transport } from '../types-hoist/transport';
interface MatchParam {
/** The envelope to be sent */
envelope: Envelope;
/**
* A function that returns an event from the envelope if one exists. You can optionally pass an array of envelope item
* types to filter by - only envelopes matching the given types will be multiplexed.
* Allowed values are: 'event', 'transaction', 'profile', 'replay_event'
*
* @param types Defaults to ['event']
*/
getEvent(types?: EnvelopeItemType[]): Event | undefined;
}
type RouteTo = {
dsn: string;
release: string;
};
type Matcher = (param: MatchParam) => (string | RouteTo)[];
/**
* Gets an event from an envelope.
*
* This is only exported for use in the tests
*/
export declare function eventFromEnvelope(env: Envelope, types: EnvelopeItemType[]): Event | undefined;
/**
* Creates a transport that can send events to different DSNs depending on the envelope contents.
*/
export declare function makeMultiplexedTransport<TO extends BaseTransportOptions>(createTransport: (options: TO) => Transport, matcher: Matcher): (options: TO) => Transport;
export {};
//# sourceMappingURL=multiplexed.d.ts.map