import { R as Root } from './types/wasm-dynamic.mjs'; export { g as getWasmInlined } from './types/wasm-dynamic.mjs'; import * as _shikijs_core from '@shikijs/core'; import { HighlighterGeneric, CreateHighlighterFactory } from '@shikijs/core'; export * from '@shikijs/core'; import { BundledLanguage } from './langs.mjs'; export { bundledLanguages, bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs'; import { BundledTheme } from './themes.mjs'; export { bundledThemes, bundledThemesInfo } from './themes.mjs'; import '@shikijs/core/types'; type Highlighter = HighlighterGeneric; /** * Initiate a highlighter instance and load the specified languages and themes. * Later it can be used synchronously to highlight code. * * Importing this function will bundle all languages and themes. * @see https://shiki.style/guide/bundles#shiki-bundle-full * * For granular control over the bundle, check: * @see https://shiki.style/guide/install#fine-grained-bundle */ declare const createHighlighter: CreateHighlighterFactory; declare const codeToHtml: (code: string, options: _shikijs_core.CodeToHastOptions) => Promise; declare const codeToHast: (code: string, options: _shikijs_core.CodeToHastOptions) => Promise; declare const codeToTokens: (code: string, options: _shikijs_core.CodeToTokensOptions) => Promise<_shikijs_core.TokensResult>; declare const codeToTokensBase: (code: string, options: _shikijs_core.RequireKeys<_shikijs_core.CodeToTokensBaseOptions, "theme" | "lang">) => Promise<_shikijs_core.ThemedToken[][]>; declare const codeToTokensWithThemes: (code: string, options: _shikijs_core.RequireKeys<_shikijs_core.CodeToTokensWithThemesOptions, "lang" | "themes">) => Promise<_shikijs_core.ThemedTokenWithVariants[][]>; declare const getSingletonHighlighter: (options?: Partial<_shikijs_core.BundledHighlighterOptions> | undefined) => Promise>; /** * @deprecated Use `createHighlighter` or `getSingletonHighlighter` instead. */ declare const getHighlighter: CreateHighlighterFactory; export { BundledLanguage, BundledTheme, type Highlighter, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getSingletonHighlighter };