/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import { Model as SequelizeModel } from 'sequelize'; import { Model } from './model'; export declare class SyncRunner { private model; private readonly collection; private readonly database; private tableDescMap; private uniqueAttributes; constructor(model: typeof Model); get tableName(): string | { tableName: string; schema: string; delimiter: string; }; get sequelize(): import("sequelize").Sequelize; get queryInterface(): import("sequelize").QueryInterface; get rawAttributes(): { [attribute: string]: import("sequelize").ModelAttributeColumnOptions>; }; runSync(options: any): Promise; handleUniqueFieldBeforeSync(beforeColumns: any, options: any): Promise; handlePrimaryKeyBeforeSync(columns: any, options: any): Promise; handlePrimaryKey(columns: any, options: any): Promise; handleDefaultValues(columns: any, options: any): Promise; handleUniqueIndex(options: any): Promise; getColumns(options: any): Promise; isParentColumn(columnName: string, options: any): Promise; removeUnusedColumns(columns: any, options: any): Promise; findAttributeByColumnName(columnName: string): any; performSync(options: any): Promise; handleZeroColumnModel(options: any): Promise; handleSchema(options: any): Promise; }