import { RuleObject, RuleHandler } from './makeQuery'; /** * wrap content by open and closed tags */ export declare const wrapContent: (pre: any, post: any) => RuleHandler; /** * emptyContent - skip any child node */ export declare const emptyContent: () => RuleHandler; /** * content - process childs as regular content */ export declare const content: RuleHandler; /** Set hander after call with node ':para':setFn((node,ctx) => (ctx.parents || [] ).includes('head') ? content : wrapContent('
','
'), */ export declare const setFn: (check: any) => RuleHandler; /** Set new context for handler const parents = (ctx.parents || []) parents.push('head') const {level} = node return setContext( { ...ctx, parents }, wrapContent(`