// import/export got a false positive, and affects most of our index barrel files // can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703 /* eslint-disable import/export */ // We export everything from both the client part of the SDK and from the server part. // Some of the exports collide, which is not allowed, unless we redefine the colliding // exports in this file - which we do below. import type { Client, Integration, Options, StackParser } from '@sentry/core'; import type { NodeOptions } from '@sentry/node'; import type * as clientSdk from './index.client'; import type * as serverSdk from './index.server'; import sentryAstro from './index.server'; export * from './index.client'; export * from './index.server'; export * from '@sentry/node'; /** Initializes Sentry Astro SDK */ export declare function init(options: Options | clientSdk.BrowserOptions | NodeOptions): Client | undefined; export declare const linkedErrorsIntegration: typeof clientSdk.linkedErrorsIntegration; export declare const consoleIntegration: typeof serverSdk.consoleIntegration; export declare const contextLinesIntegration: typeof clientSdk.contextLinesIntegration; export declare const startSpan: typeof clientSdk.startSpan; export declare const startSpanManual: typeof clientSdk.startSpanManual; export declare const startInactiveSpan: typeof clientSdk.startInactiveSpan; export declare const withStaticSpan: typeof clientSdk.withStaticSpan; // oxlint-disable-next-line typescript/no-deprecated export declare const withStreamedSpan: typeof clientSdk.withStreamedSpan; export declare const getDefaultIntegrations: (options: Options) => Integration[]; export declare const defaultStackParser: StackParser; export declare function close(timeout?: number | undefined): PromiseLike; export declare function flush(timeout?: number | undefined): PromiseLike; export declare const Span: clientSdk.Span; export declare const logger: typeof clientSdk.logger | typeof serverSdk.logger; export declare const launchDarklyIntegration: typeof clientSdk.launchDarklyIntegration; export declare const buildLaunchDarklyFlagUsedHandler: typeof clientSdk.buildLaunchDarklyFlagUsedHandler; export declare const openFeatureIntegration: typeof clientSdk.openFeatureIntegration; export declare const OpenFeatureIntegrationHook: typeof clientSdk.OpenFeatureIntegrationHook; export declare const statsigIntegration: typeof clientSdk.statsigIntegration; export declare const unleashIntegration: typeof clientSdk.unleashIntegration; export declare const growthbookIntegration: typeof clientSdk.growthbookIntegration; // oxlint-disable-next-line typescript/no-deprecated export default sentryAstro;