import BaseType from './_base'; /** * @private */ declare class Csv extends BaseType { #private; /** * Default options for exporting CSV format. * * @returns {object} */ static get DEFAULT_OPTIONS(): { mimeType: string; fileExtension: string; bom: boolean; columnDelimiter: string; rowDelimiter: string; sanitizeValues: boolean; }; /** * Merge options, normalizing XLSX-only values that are not applicable to CSV. * * The `'hide'` value for `exportHiddenRows` and `exportHiddenColumns` is only * meaningful for Excel exports (it marks rows/columns as hidden in the workbook). * For CSV the only sensible fallback is `false` — omit those rows/columns entirely. * * @param {object} options User-supplied options. * @returns {object} */ _mergeOptions(options: Record): Record; /** * Create string body in desired format. * * @returns {string} */ export(): string; /** * Escape cell value. * * @param {*} value Cell value. * @param {object} options Options. * @param {boolean} [options.force=false] Indicates if cell value will be escaped forcefully. * @param {boolean|RegExp|Function} [options.sanitizeValue=false] Controls the sanitization of cell value. * @returns {string} */ _escapeCell(value: unknown, { force, sanitizeValue }?: { force?: boolean; sanitizeValue?: boolean | RegExp | ((value: string) => string); }): string; } export default Csv;