import * as i0 from "@angular/core";
export declare class CsvExporterService {
    /**
     * Creates a string that can be used to create a Blob for a CSV
     * @param rows 2D array of data. First row is the names for the fields
     * @param shouldSanitize If a cell starting with a control character should be edited to prevent
     * possible code injection
     */
    createCsv(rows: any[][], shouldSanitize?: boolean): string;
    /**
     * Whether the CSV that would result from the export is at risk of code injection
     * @param rows 2D array of data. First row is the names for the fields
     */
    hasPotentialInjection(rows: any[][]): boolean;
    /**
     * Does a client side download
     * @param csvFile The string contents of a CSV file to be downloaded
     * @param filename The name of the file to be downloaded
     */
    downloadCsvFile(csvFile: string, filename: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CsvExporterService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CsvExporterService>;
}
