import MarkdownIt from 'markdown-it'; import type { Root } from 'mdast'; import type { Plugin } from 'unified'; import type { AllOptions, Options } from './types'; export type { Options, IRole, IDirective } from './types'; export { directivesDefault, Directive, IDirectiveData, directiveOptions, Role, rolesDefault, IRoleData, } from 'markdown-it-docutils'; export declare const defaultOptions: Omit; export declare class MyST { opts: Omit; tokenizer: MarkdownIt; constructor(opts?: Options); _parseOptions(user: Options): Omit; _createTokenizer(): MarkdownIt; parse(content: string): Root; render(content: string): string; renderMdast(tree: Root): string; } /** * MyST Parser as a Unified Plugin */ export declare const mystParser: Plugin<[Options?], string, Root>;