UNPKG

@embrace-io/web-sdk

Version:
39 lines 2.01 kB
import "../index.js"; import { ExtendedSpan } from "../../../api-traces/api/TraceAPI/types.js"; import "../../../index.js"; import { PropertyOptions, SessionPartStartedEvent } from "../types.js"; import { EndSessionPartOptions, RolloverSessionPartOptions, StartSessionPartOptions, UserSessionAttributes, UserSessionManagerInternal } from "../../../managers/EmbraceUserSessionManager/types.js"; //#region src/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts declare class NoOpUserSessionManager implements UserSessionManagerInternal { addBreadcrumb(_name: string): void; addProperty(_key: string, _value: string, _options?: PropertyOptions): void; removeProperty(_key: string): void; endSessionSpan(): void; currentSessionAsReadableSpan(): null; getSessionId: () => null; getPreviousSessionId: () => null; getSessionSpan(): null; getSessionStartTime(): null; startSessionSpan(): void; addSessionStartedListener(_listener: () => void): () => void; addSessionEndedListener(_listener: () => void): () => void; getUserSessionId(): string | null; getPreviousUserSessionId(): string | null; getUserSessionStartTime(): number | null; getUserSessionAttributes(): UserSessionAttributes | null; getSessionPartProperties(): Record<string, string>; endUserSession(): void; getSessionPartId(): string | null; getSessionPartSpan(): ExtendedSpan | null; startSessionPartInternal(_options: StartSessionPartOptions): void; endSessionPartInternal(_options: EndSessionPartOptions): void; rolloverSessionPartInternal(_options: RolloverSessionPartOptions): void; incrSessionPartCountForKey(_key: string): void; incrNextSessionPartCountForKey(_key: string): void; addSessionPartStartedListener(_listener: (event: SessionPartStartedEvent) => void): () => void; addSessionPartEndedListener(_listener: () => void): () => void; setTracerProvider(): void; } //#endregion export { NoOpUserSessionManager }; //# sourceMappingURL=NoOpUserSessionManager.d.ts.map