UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

10 lines (9 loc) 431 B
import { type Span } from '@sentry/node'; import type { WizardOptions } from './utils/types'; export declare function withTelemetry<F>(options: { enabled: boolean; integration: string; wizardOptions: WizardOptions; }, callback: () => F | Promise<F>): Promise<F>; export declare function traceStep<T>(step: string, callback: (span: Span | undefined) => T): T; export declare function updateProgress(step: string): void;