import { JsonSchema } from 'json-schema-spec-types'; declare namespace JsonSchemaDiff { export interface DiffResult { additionsFound: boolean; addedJsonSchema: JsonSchema; removalsFound: boolean; removedJsonSchema: JsonSchema; } export interface JsonSchemaDiffOptions { sourceSchema: JsonSchema; sourceSchemaFile?: string; destinationSchema: JsonSchema; destinationSchemaFile?: string; } } declare interface JsonSchemaDiffStatic { diffSchemas: ( options: JsonSchemaDiff.JsonSchemaDiffOptions, ) => Promise; } // eslint-disable-next-line no-redeclare declare const JsonSchemaDiff: JsonSchemaDiffStatic; export = JsonSchemaDiff;