var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promise, generator) {
    return new Promise(function (resolve, reject) {
        generator = generator.call(thisArg, _arguments);
        function cast(value) { return value instanceof Promise && value.constructor === Promise ? value : new Promise(function (resolve) { resolve(value); }); }
        function onfulfill(value) { try { step("next", value); } catch (e) { reject(e); } }
        function onreject(value) { try { step("throw", value); } catch (e) { reject(e); } }
        function step(verb, value) {
            var result = generator[verb](value);
            result.done ? resolve(result.value) : cast(result.value).then(onfulfill, onreject);
        }
        step("next", void 0);
    });
};
export class Migration {
    constructor() {
        this.field_mapping = {
            // 'nid[0].value': 'id',
            // 'uuid[0].value': 'guid.rendered',
            'title[0].value': 'title.rendered',
            'body[0].value': 'content.rendered',
            'created[0].value': 'date',
            'changed[0].value': 'modified',
            'sticky[0].value': 'sticky',
            'type[0].target_id': 'type',
            'moderation_state[0].target_id': 'status',
            'field_meta_tags[0[.value': 'meta'
        };
    }
    migrate(options) {
        const self = this;
        this.source = options.source;
        this.destination = options.destination;
        return new Promise(function (resolve, reject) {
        });
    }
}
//# sourceMappingURL=migration.js.map