@@ -9,18 +9,19 @@ export * from './edge';
9
9
10
10
import type { Integration , Options , StackParser } from '@sentry/types' ;
11
11
12
- import type { BrowserOptions } from './client' ;
13
- import * as clientSdk from './client' ;
14
- import type { EdgeOptions } from './edge' ;
15
- import * as edgeSdk from './edge' ;
16
- import type { NodeOptions } from './server' ;
17
- import * as serverSdk from './server' ;
12
+ import type * as clientSdk from './client' ;
13
+ import type * as edgeSdk from './edge' ;
14
+ import type * as serverSdk from './server' ;
18
15
19
16
/** Initializes Sentry Next.js SDK */
20
- export declare function init ( options : Options | BrowserOptions | NodeOptions | EdgeOptions ) : void ;
17
+ export declare function init (
18
+ options : Options | clientSdk . BrowserOptions | serverSdk . NodeOptions | edgeSdk . EdgeOptions ,
19
+ ) : void ;
21
20
22
21
// We export a merged Integrations object so that users can (at least typing-wise) use all integrations everywhere.
23
- export const Integrations = { ...clientSdk . Integrations , ...serverSdk . Integrations , ...edgeSdk . Integrations } ;
22
+ export declare const Integrations : typeof clientSdk . Integrations &
23
+ typeof serverSdk . Integrations &
24
+ typeof edgeSdk . Integrations ;
24
25
25
26
export declare const defaultIntegrations : Integration [ ] ;
26
27
export declare const defaultStackParser : StackParser ;
0 commit comments