export interface nBlock { "type": "block"; name: "pod"; content: AST; margin: string; } export interface nCode { "type": "code"; "content": []; "name": string; "margin": string; "config": []; "text": string; } export interface nText { "type": "text"; "content": []; "name": string; "margin": string; "config": []; 'value': string; } export interface nPara { "type": "para"; "content": []; "name": string; "margin": string; "config": []; } export interface nVerbatim { type: 'verbatim'; value: string; "margin": string; "text": string; } export declare type Node = nBlock | nCode | nText | nPara | nVerbatim; export declare type AST = Array; export declare type Plugin = (opt: { skipChain: number; podMode: number; }) => (param: AST) => AST; declare function makeTree(): { (): void; use: (plugin: Plugin) => any; parse: (src: string, opt?: { skipChain: number; podMode: number; }) => AST; }; export { makeTree as toTree }; declare const parse: Function; export { parse as parse }; export { default as toHtml } from './exportHtml'; declare const VERSION: any; export { VERSION as version };