import type { LanguageInput, ThemeInput } from 'shiki'

export interface HighlighterCoreOptions {
  engine: any
  langs: LanguageInput[]
  themes: ThemeInput[]
}

export function createHighlighterCore(options: HighlighterCoreOptions): Promise<{
  codeToTokens: (code: string, options: { lang: string; theme: string }) => any
}>