/** * Serialises a rendered markdown table to CSV. * * Reads the DOM rather than the markdown source because by the time the reader * clicks, the source is a cached string several layers away — and the DOM is * what they are actually looking at, which is what they expect to get. */ /** * Quotes a field per RFC 4180. * * Only when it has to: quoting everything is valid CSV but makes the result * unreadable in a diff or a text editor, and these tables are usually small * enough to be read raw. */ export declare function escapeCsvField(value: string): string; export declare function tableToCsv(table: HTMLTableElement): string;