export type RuleFunction = (visitor: FromCommonMarkVisitor, thing: any, children: any, parameters: any, resultString: (s: string) => any, resultSeq: (parameters: any, result: any) => void) => void; export type Rules = Record; /** * Converts a CommonMark DOM to something else */ export declare class FromCommonMarkVisitor { options: any; resultString: (s: string) => any; resultSeq: (parameters: any, result: any) => void; rules: Rules; setFirst: (b: string) => boolean; /** * Construct the visitor. */ constructor(options: any, resultString: (s: string) => any, resultSeq: (parameters: any, result: any) => void, rules: Rules, setFirst: (b: string) => boolean); /** * Visits a sub-tree */ visitChildren(visitor: FromCommonMarkVisitor, thing: any, parameters: any, field?: string): any; /** * Visit a node */ visit(thing: any, parameters: any): void; } export default FromCommonMarkVisitor;