Rocky_Mountain_Vending/.pnpm-store/v10/files/0f/75845a9fe342a45503bd2969cb2dc077d40b800853b717e3c8c4199d724516d356e4b61e729d8bb7a6330795c94938fbb9c39e3a40413d67c5537bec1825c6
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

102 lines
No EOL
3.4 KiB
Text

import type { SpanLink } from '../types-hoist/link';
import type { SentrySpanArguments, Span, SpanAttributes, SpanAttributeValue, SpanContextData, SpanJSON, SpanTimeInput } from '../types-hoist/span';
import type { SpanStatus } from '../types-hoist/spanStatus';
import type { TimedEvent } from '../types-hoist/timedEvent';
/**
* Span contains all data about a span
*/
export declare class SentrySpan implements Span {
protected _traceId: string;
protected _spanId: string;
protected _parentSpanId?: string | undefined;
protected _sampled: boolean | undefined;
protected _name?: string | undefined;
protected _attributes: SpanAttributes;
protected _links?: SpanLink[];
/** Epoch timestamp in seconds when the span started. */
protected _startTime: number;
/** Epoch timestamp in seconds when the span ended. */
protected _endTime?: number | undefined;
/** Internal keeper of the status */
protected _status?: SpanStatus;
/** The timed events added to this span. */
protected _events: TimedEvent[];
/** if true, treat span as a standalone span (not part of a transaction) */
private _isStandaloneSpan?;
/**
* You should never call the constructor manually, always use `Sentry.startSpan()`
* or other span methods.
* @internal
* @hideconstructor
* @hidden
*/
constructor(spanContext?: SentrySpanArguments);
/** @inheritDoc */
addLink(link: SpanLink): this;
/** @inheritDoc */
addLinks(links: SpanLink[]): this;
/**
* This should generally not be used,
* but it is needed for being compliant with the OTEL Span interface.
*
* @hidden
* @internal
*/
recordException(_exception: unknown, _time?: number | undefined): void;
/** @inheritdoc */
spanContext(): SpanContextData;
/** @inheritdoc */
setAttribute(key: string, value: SpanAttributeValue | undefined): this;
/** @inheritdoc */
setAttributes(attributes: SpanAttributes): this;
/**
* This should generally not be used,
* but we need it for browser tracing where we want to adjust the start time afterwards.
* USE THIS WITH CAUTION!
*
* @hidden
* @internal
*/
updateStartTime(timeInput: SpanTimeInput): void;
/**
* @inheritDoc
*/
setStatus(value: SpanStatus): this;
/**
* @inheritDoc
*/
updateName(name: string): this;
/** @inheritdoc */
end(endTimestamp?: SpanTimeInput): void;
/**
* Get JSON representation of this span.
*
* @hidden
* @internal This method is purely for internal purposes and should not be used outside
* of SDK code. If you need to get a JSON representation of a span,
* use `spanToJSON(span)` instead.
*/
getSpanJSON(): SpanJSON;
/** @inheritdoc */
isRecording(): boolean;
/**
* @inheritdoc
*/
addEvent(name: string, attributesOrStartTime?: SpanAttributes | SpanTimeInput, startTime?: SpanTimeInput): this;
/**
* This method should generally not be used,
* but for now we need a way to publicly check if the `_isStandaloneSpan` flag is set.
* USE THIS WITH CAUTION!
* @internal
* @hidden
* @experimental
*/
isStandaloneSpan(): boolean;
/** Emit `spanEnd` when the span is ended. */
private _onSpanEnded;
/**
* Finish the transaction & prepare the event to send to Sentry.
*/
private _convertSpanToTransaction;
}
//# sourceMappingURL=sentrySpan.d.ts.map