/** Kendo */ import "kendo.ooxml"; /** Framework */ import { CoreComponent } from "cmf.core/src/core"; /** * Represents the Excel Column type */ export interface ExcelColumn { title: string; searchPath: string; width?: number; } /** * The class provides generic and utility methods */ export declare class Utils extends CoreComponent { /** * Creates the initial workbook structure, only composed with the header columns * * @param columns The excel columns */ private createWorkbookBasicStructure; /** * Fills the Workbook with the given rows * * @param data The excel data */ private fillWorkbookData; /** * Validates whether or not the given property type is automatically supported by kendoui */ private validPropertyType; /** * Converts the given value to a writable format * @param value the value to be converted */ private convertValue; /** * Creates a blank row * @param numberOfCells The total number of cells to create */ private createRowTemplate; /** * Creates and downloads an excel file organized by the given columns and rows * * @param columns The excel columns. A map object containing the column name and the corresponding value in the rows (e.g. ) * @param rows The excel content */ exportExcel(columns: ExcelColumn[], rows: any[], fileName?: string, worksheetName?: string): void; }