import { GraphQLEntityField, GraphQLEntityIndex, GraphQLEnumsType, GraphQLFullTextType, GraphQLModelsType, GraphQLRelationsType } from '@subql/utils'; import { ModelStatic } from '@subql/x-sequelize'; export type ModifiedDbModels = { modifiedModels: ModelStatic[]; removedModels: string[]; }; export type ModifiedModels = Record; export interface SchemaChangesType { addedModels: GraphQLModelsType[]; removedModels: GraphQLModelsType[]; modifiedModels: ModifiedModels; addedRelations: GraphQLRelationsType[]; removedRelations: GraphQLRelationsType[]; addedEnums: GraphQLEnumsType[]; removedEnums: GraphQLEnumsType[]; modifiedEnums: GraphQLEnumsType[]; } export declare function hasChanged(changes: SchemaChangesType): boolean; export declare function compareEnums(currentEnums: GraphQLEnumsType[], nextEnums: GraphQLEnumsType[], changes: SchemaChangesType): void; export declare function compareRelations(currentRelations: GraphQLRelationsType[], nextRelations: GraphQLRelationsType[], changes: SchemaChangesType): void; export declare function compareModels(currentModels: GraphQLModelsType[], nextModels: GraphQLModelsType[], changes: SchemaChangesType): void; export declare function schemaChangesLoggerMessage(schemaChanges: SchemaChangesType): string; export declare function alignModelOrder(schemaModels: GraphQLModelsType[], models: T): T;