import type { ParseSheetDataError } from './parseSheetDataError.d.js' interface ParseSheetDataResultSuccess { objects: Object[]; errors: undefined; } interface ParseSheetDataResultError< Error extends ParseSheetDataError > { objects: undefined; errors: Error[]; } export type ParseSheetDataResult< Object extends object, ColumnTitle extends string, Error extends ParseSheetDataError = ParseSheetDataError > = | ParseSheetDataResultSuccess | ParseSheetDataResultError export interface ParseSheetDataOptions { propertyValueWhenColumnIsMissing?: any; propertyValueWhenCellIsEmpty?: any; transformEmptyArray?(arrayPropertyValue: never[], parameters: { path: string }): any; transformEmptyObject?(object: Record, parameters: { path?: string }): any; // shouldSkipRequiredValidationWhenColumnIsMissing?(columnTitle: string, parameters: { object: Record }): boolean; arrayValueSeparator?: string; }