import type { LanguageInput, ThemeInput } from 'shiki'

declare module 'vendor/shiki/core/core' {
  export interface HighlighterCoreOptions {
    engine: any
    langs: LanguageInput[]
    themes: ThemeInput[]
  }

  export function createHighlighterCore(options: HighlighterCoreOptions): any
}

declare module 'vendor/shiki/core/engine-javascript' {
  export function createJavaScriptRegexEngine(): any
}
