import { BaseParser } from "./baseParser"; import { Card } from "../../models/Card"; /** * Parse a string to Card model */ export declare class CardParser extends BaseParser { private splitRe; private tagRe; private clozeRe; private noteIdRe; private noteType; constructor({ convertToHtml, convertMath, noteType }?: { convertToHtml?: boolean | undefined; convertMath?: boolean | undefined; noteType?: string | undefined; }); /** * Parse a string to Card model * @param {string} string Card in string * @returns {Promise} */ parse(string?: string): Promise; private parseCardLines; private parseTags; /** * Convert card lines to html * @param {[string]} lines * @returns {Promise} * @private */ linesToHtml(lines: string[]): Promise; }