export { markdownToHtml, mdxToJs, evaluate, markdownToMdast, mdxToMdast, markdownToHast, mdxToHast, } from "./compile.js"; export type { CompileOptions, MdxCompileOptions, MdxOnlyOptions, EvaluateOptions, OptimizeStaticConfig, Features, SmartPunctuationOptions, Frontmatter, MarkdownToHtmlResult, MdxToJsResult, } from "./compile.js"; export { defineMdastPlugin, defineHastPlugin } from "./plugin.js"; export type { MdastPluginDefinition, HastPluginDefinition, MdastPluginInput, HastPluginInput, } from "./plugin.js"; export type { HastVisitorInstance, HastVisitorContext, HastFilteredVisitor, HastContent, EstreeProgram, } from "./hast/hast-visitor.js"; export type { MdastNode, HastNode, DataMap, Data, SourceFormat, Position, Point, MdxJsxAttributeNode, MdxJsxExpressionAttributeNode, MdxJsxAttributeValueExpressionNode, MdxJsxAttributeUnion, MdxJsxFlowElement, MdxJsxTextElement, MdxFlowExpression, MdxTextExpression, MdxjsEsm, MdxJsxFlowElementHast, MdxJsxTextElementHast, MdxFlowExpressionHast, MdxTextExpressionHast, MdxjsEsmHast, } from "./types.js"; export { visitMdastHandle, resolveMdastSubscriptions } from "./mdast/mdast-visitor.js"; export type { MdastPluginInstance, MdastVisitorContext, MdastContent, } from "./mdast/mdast-visitor.js"; export { visitHastHandle, resolveSubscriptions as resolveHastSubscriptions, } from "./hast/hast-visitor.js"; export { MdastReader } from "./mdast/mdast-reader.js"; export { materializeMdastTree } from "./mdast/mdast-materializer.js"; export { HastReader } from "./hast/hast-reader.js"; export { materializeHastTree } from "./hast/hast-materializer.js"; export { createMdastHandle, createMdxMdastHandle, createHastHandle, createMdxHastHandle, serializeHandle, renderHandle, compileHandle, getHandleSource, } from "#binding"; import { applyCommandsAndConvertToHastHandle as napiApplyCommandsAndConvertToHastHandle, convertMdastToHastHandle as napiConvertMdastToHastHandle } from "#binding"; import type { AnyHandle } from "./handles.js"; export declare function applyCommandsToMdastHandle(handle: MdastHandle, commandBuf: Uint8Array): number; export declare function convertMdastToHastHandle(handle: MdastHandle, convertOptions?: Parameters[1]): HastHandle; export declare function dropHandle(handle: AnyHandle): void; export declare function applyCommandsAndConvertToHastHandle(handle: MdastHandle, commandBuf: Uint8Array, convertOptions?: Parameters[2]): HastHandle;