import * as XLSX from 'xlsx'; import { HttpClient } from '@angular/common/http'; interface KeyValuePair { key: string; value: string; } export declare class NgxExcelTemplateService { private http; private workbook$; constructor(http: HttpClient); exportExcel(filepath: string, fileName: string, wsName: string, kv: KeyValuePair[]): void; /** * Convert a Assetfile data into a WorkBook Object. * @param data Assetfile excel data to convert. */ xlsAssetBlobToJSON(data: any): Promise; BlobToJSON(): unknown[]; /** * Returns a string array that represents the coordinates of all the cell with data. * @param ws WorkSheet. */ private getCellsReference; set(name: string, value: any): void; private setCell; private parseCellName; private findRowIndex; jsonToSheetExport(fileName: string, wsName: string, data: any): void; arrayBufferToString(data: ArrayBuffer): string; stringToArrayBuffer(s: string): ArrayBuffer; toBuffer(bookType: XLSX.BookType): any; saveAs(filepath: string): void; fromArrayBuffer(arrayBuffer: ArrayBuffer): XLSX.WorkBook; toArrayBuffer(bookType: XLSX.BookType): ArrayBuffer; toBlob(bookType?: XLSX.BookType): Blob; fromFile(filepath: string): XLSX.WorkBook; } export {};