@@ -12,6 +12,30 @@ declare module '@spotlightjs/sidecar/constants';
1212
1313declare module '@sentry/types' ;
1414
15+ declare module '@sentry/types' {
16+ // Minimal Envelope type to satisfy imports
17+ export type Envelope = unknown ;
18+ }
19+
20+ // -------------------- Rollup missing exports --------------------
21+ declare module 'rollup' {
22+ export interface AcornNode extends Record < string , unknown > { }
23+ // fallback placeholders
24+ export interface SourceMapInput extends Record < string , unknown > { }
25+ export interface EmittedAsset extends Record < string , unknown > { }
26+ export interface PluginContextMeta extends Record < string , unknown > { }
27+ export type Plugin < T = any > = any ;
28+ }
29+
30+ declare module 'rollup/parseAst' {
31+ export function parseAst ( code : string ) : unknown ;
32+ export function parseAstAsync ( code : string ) : Promise < unknown > ;
33+ }
34+
35+ // Generic placeholders for mdx-bundler generics
36+ declare type ExportedObject = Record < string , unknown > ;
37+ declare type Frontmatter = Record < string , unknown > ;
38+
1539// Provide missing iterator type aliases used in some Next.js type declarations
1640// See: node_modules/next/dist/server/web/spec-extension/adapters/headers.d.ts
1741// node_modules/next/dist/compiled/@edge -runtime/cookies/index.d.ts
0 commit comments