export declare class MdWriter { private content; private get lastToken(); toString(): string; writeString(v: string, escape?: boolean): this; writeLnHeader(v: string, lvl?: number): this; writeLn(v?: string): this; writeLnListItem(v: string, lvl?: number): this; beginListItem(lvl?: number): this; writeLnListItemOrdered(v: string, lvl?: number): this; beginListItemOrdered(lvl?: number): this; writeItalic(v: string): this; writeBold(v: string): this; writeLink(url: string, name: string): this; writeImg(url: string, name: string): this; writeCode(v: string): this; writeCodeBlock(v: string, lang?: string): this; beginCodeBlock(lang?: string): this; endCodeBlock(): this; writeHr(): this; writeTableHeader(...v: string[]): this; writeTableRow(...v: string[]): this; beginTableCell(): this; endTableRow(): this; private ensureNewLine; }