import type { UnitIdFields, UnitRecord } from "./types/unitRecord"; import { type UnitUpdateFields } from "./types/unitBulkUpdateFields"; /** * Turns the array fields which contains IDs (i.e tags or national curriculum content ) into the corresponding strings. * * @example * ``` * // Given the following ID Array: * [1,2] * // The row would look like this: * ["tag1", "tag2"] * ``` * @param record The lesson record to extract the data from * @param key The key of the field to extract * @param row The row to add the data to * @param updateFields The store of metadata related to each field * @param natCurricMap The map to convert the national curriculum content IDs to strings * @param EBSMap The map to convert the exam board specification content IDs to strings * @param tagMap The map to convert the cat tag IDs to strings */ export declare const handleUnitIdField: (record: UnitRecord, key: keyof UnitIdFields, row: (string | number)[], updateFields: UnitUpdateFields, natCurricMap: Map, EBSMap: Map, tagMap: Map) => void; /** * Adds the header row to the table. * * @param values The table to add the header row to * @param updateFields The store of metadata related to each field */ export declare const handleUnitHeaderRow: (values: (string | number)[][], updateFields: UnitUpdateFields) => void; /** * Builds the table rows for the bulk upload. * * @param data The unit records to build the table from * @param updateFields The store of metadata related to each field * @param natCurricMap The map to convert the national curriculum content IDs to strings * @param EBSMap The map to convert the exam board specification content IDs to strings * @param tagMap The map to convert the cat tag IDs to strings * @returns The table rows */ export declare const buildUnitTableRows: (data: UnitRecord[], updateFields: UnitUpdateFields, natCurricMap: Map, EBSMap: Map, tagMap: Map) => (string | number)[][]; //# sourceMappingURL=buildUnitTableRows.d.ts.map