import ImportRecord from './ImportRecord'; export default class Editor { readonly headers: string[]; readonly records: ImportRecord[]; constructor(headers: string[], records: ImportRecord[]); /** * * @param mapping key is target, value is source * @param records * @returns */ static fromMapping(mapping: { [key: string]: string; }, records: ImportRecord[]): Editor; }