import { XlsxSchema } from "../../types"; import type { ZodTypeAny, infer as ZodInfer } from "zod"; /** * @description Gets all the rows from the given XLSX-file, * parses them with the given schema and then validates them with the given Zod-schema, only * returning the rows that pass the Zod-schema. * @param {Uint8Array | ArrayBuffer} bytes - The XLSX-file as a Uint8Array or ArrayBuffer * @param {XlsxSchema } schema - The schema to parse the rows with * @param {TSchema} zodSchema - The Zod-schema to validate the rows with * @returns {ZodInfer[]} An array of rows that passed the Zod-schema */ export declare function getParsedRowsWithZodSchema(bytes: Uint8Array | ArrayBuffer, schema: XlsxSchema, zodSchema: TSchema): ZodInfer[];