import type { Tokens } from 'marked'; import type { Extension } from './marked/index.js'; export { cjk, createCjkPlugin, type CjkPlugin } from './plugins/cjk-shared.js'; import { getThemeName } from '@streamdown-svelte/plugin-core'; import type { CodeHighlighterPlugin, CodePluginOptions, CustomRenderer, DiagramPlugin, MathPlugin, MathPluginOptions, MermaidPluginOptions, PluginConfig } from './contracts/plugins.js'; export type { CodeHighlighterPlugin, CodePluginOptions, CustomRenderer, CustomRendererProps, DiagramPlugin, HighlightOptions, HighlightResult, HighlightToken, MathPlugin, MathPluginOptions, MermaidInstance, MermaidPluginOptions, PluginConfig, ThemeInput } from './contracts/plugins.js'; export { getThemeName }; export declare function extractCodeFenceMeta(token: Tokens.Code): string | undefined; export declare function extractCodeFenceLanguage(token: Tokens.Code): string; export declare function findCustomRenderer(renderers: CustomRenderer[] | undefined, language: string | undefined): CustomRenderer | null; export declare function getMathPluginOptions(plugin: MathPlugin | undefined): Required; export declare function applyPluginMarkdownTransforms(markdown: string, plugins: PluginConfig | undefined): string; export declare function resolveParserExtensions(extensions: Extension[] | undefined, plugins: PluginConfig | undefined): Extension[] | undefined; export declare function createCodePlugin(options?: CodePluginOptions): CodeHighlighterPlugin; export declare function createMathPlugin(options?: MathPluginOptions): MathPlugin; export declare function createMermaidPlugin(options?: MermaidPluginOptions): DiagramPlugin; export declare const code: CodeHighlighterPlugin; export declare const math: MathPlugin; export declare const mermaid: DiagramPlugin;