import { Sequelize, Transaction } from '@subql/x-sequelize'; import { GraphQLSchema } from 'graphql'; import { NodeConfig } from '../../configure'; import { StoreService } from '../../indexer'; import { SchemaChangesType } from './migration-helpers'; export declare class SchemaMigrationService { private sequelize; private storeService; private dbSchema; private config; private withoutForeignKeys; constructor(sequelize: Sequelize, storeService: StoreService, dbSchema: string, config: NodeConfig); static validateSchemaChanges(currentSchema: GraphQLSchema, nextSchema: GraphQLSchema): boolean; static schemaComparator(currentSchema: GraphQLSchema | null, nextSchema: GraphQLSchema): SchemaChangesType; private orderModelsByRelations; run(currentSchema: GraphQLSchema | null, nextSchema: GraphQLSchema, transaction: Transaction): Promise; }