import { Logger } from '@vlocode/core'; import { DatapackDeploymentRecord } from '../datapackDeploymentRecord'; export declare class PreprocessorMessages { private readonly logger; private readonly preprocessorMessages; constructor(logger: Logger); /** * Add a warning message to a record from the preprocessing stage; stores the messages and adds them to the records in the afterRecordConversion stage. * * All pre-processor messages are warnings, if the pre-processor encounters an error it should throw an exception. * * @param sourceKey Source key of the future record to add the warning to * @param message Message to add */ warn(sourceKey: string | { VlocityRecordSourceKey?: string; sourceKey?: string; }, message: string): void; /** * Should be called in the afterRecordConversion stage to add the preprocessor messages to the records * @param records Records to add the preprocessor messages to */ addToRecords(records: ReadonlyArray): void; } //# sourceMappingURL=preprocessorMessages.d.ts.map