Rocky_Mountain_Vending/.pnpm-store/v10/files/58/fda9dc137ac53e272445e84911c2eab05747bde31034864ac42978b62108767ad7c4b5797163702b218bc63204788081f323a1eb0bc6027ffcc3cf77c1d91c
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

36 lines
999 B
Text

import type { MittEmitter } from '../../shared/lib/mitt';
export type SpanOptions = {
startTime?: number;
attributes?: Record<string, unknown>;
};
export type SpanState = {
state: 'inprogress';
} | {
state: 'ended';
endTime: number;
};
interface ISpan {
name: string;
startTime: number;
attributes: Record<string, unknown>;
state: SpanState;
end(endTime?: number): void;
}
declare class Span implements ISpan {
name: string;
startTime: number;
onSpanEnd: (span: Span) => void;
state: SpanState;
attributes: Record<string, unknown>;
constructor(name: string, options: SpanOptions, onSpanEnd: (span: Span) => void);
end(endTime?: number): void;
}
declare class Tracer {
_emitter: MittEmitter<string>;
private handleSpanEnd;
startSpan(name: string, options: SpanOptions): Span;
onSpanEnd(cb: (span: ISpan) => void): () => void;
}
export type { ISpan as Span };
declare const _default: Tracer;
export default _default;