UNPKG

ndc-suez

Version:

Generate standard ndc UI

31 lines (30 loc) 895 B
import * as XLSX from 'xlsx'; interface FilterResult { [key: string]: any; } interface GraphEntry { Name: string; Type: string; Min?: number; Max?: number; Unit?: string; Interval?: number; Style?: string; Yndex?: number; } interface GroupedGraphData { [groupName: string]: { entries: GraphEntry[]; }; } /** * Filters rows where the "Ecran" column contains a given value using the second row as the header. * * @param worksheet - The worksheet to process. * @param filterValue - The value to filter in the "Ecran" column. * @param takeAll * @returns The filtered rows as an array of objects. */ export declare function filterByScreenWithHeader2(worksheet: XLSX.WorkSheet, filterValue: string, takeAll?: boolean): FilterResult[]; export declare function transformGraphSheetToJson(worksheet: XLSX.WorkSheet): GroupedGraphData; export {};