import { Dictionary, Schema, UnprocessedDataRecord } from '@overture-stack/lectern-dictionary'; import { SchemaProcessingResult, type DictionaryProcessingResult, type RecordProcessingResult } from './processingResultTypes'; /** * Process data from multiple schemas for a dictionary. * * Parse and then validate collections of data records, with each collection belonging to a different schema. * The data argument is an object where each key is a schema name and each element an array of data records * that belong to that schema type. If there are errors found during conversion, * those errors will be returned and validation will be skipped. The final result will indicate if the * data processing attempt was successful, or failed due to errors during parsing or validation. */ export declare const processDictionary: (data: Record, dictionary: Dictionary) => DictionaryProcessingResult; /** * Process a list of records for a single schema. * * Parse and then validate each record in the list. If there are errors found during conversion, * those errors will be returned and validation will be skipped. The final result will indicate if the * data processing attempt was successful, or failed due to errors during parsing or validation. */ export declare const processSchema: (records: UnprocessedDataRecord[], schema: Schema) => SchemaProcessingResult; /** * Process a single data record. * * Parse and then validate a data record. If there are errors found during conversion, * those errors will be returned and validation will be skipped. The final result will indicate if the * data processing attempt was successful, or failed due to errors during parsing or validation. */ export declare const processRecord: (data: UnprocessedDataRecord, schema: Schema) => RecordProcessingResult;