import { b as Rules, C as CheckResult, V as ValidateResult } from './types-OoUNo2KB.js'; interface ErrorReportXlsxOptions { /** Header and sheet-name language. Default 'en'. */ locale?: string; /** Name of the data sheet. Default: the locale's "Data". */ sheetName?: string; /** * The rules the result came from (JSON or `defineRules()` output). Data values are then masked like issue * values: personal-data column types always, other values where `pii.detect` finds personal data, nothing * when `pii.mask` is false. Without rules, resident registration numbers found in any value are masked. */ rules?: Rules | object; } /** * Annotated xlsx error report: a data sheet with the rows (error cells red, warning cells yellow, each with a comment * holding its messages) and an errors sheet with the CSV report's columns. * Personal data is masked everywhere (spec ยง5 K): data values through `opts.rules` (see there), messages and * the errors sheet through the result's issues, which are already masked. * Only issues with a row and a column in the data sheet mark a cell; header-level and row-level issues * (no column) appear on the errors sheet only. * Sheet names and report columns follow `opts.locale` through the shared message registry. */ declare function makeErrorReportXlsx(result: CheckResult | ValidateResult, rows: Record[], opts?: ErrorReportXlsxOptions): Promise; export { type ErrorReportXlsxOptions, makeErrorReportXlsx };