
import { ReactNode } from 'react';
import { StagingRecord, FieldSchema, ValidationRule, RecordData } from '../types';

export interface DataQualityEditorProps {
  record: StagingRecord;
  schema: FieldSchema[];
  rules: ValidationRule[];
  onSave: (id: string, updatedData: RecordData, comment: string) => void;
  onReject: (id: string, reason: string) => void;
  readOnly?: boolean;
}

declare const DataQualityEditorWrapper: React.FC<DataQualityEditorProps>;

export default DataQualityEditorWrapper;
export type { StagingRecord, FieldSchema, ValidationRule, RecordData };
