import { Config } from './types'; import AsyncAPIDiff from './asyncapidiff'; /** * Generates diff between two AsyncAPI documents * @param firstDocument The parsed AsyncAPI document * @param secondDocument The parsed AsyncAPI document * @param config Configuration options * @param {object} [config.override] Object to override the standard * @param {string} [config.outputType] The type of output * @returns {AsyncAPIDiff} The diff data * * @example * ``` * const output = diff(firstDocument, secondDocument, { * override: { * '/servers': { * add: 'non-breaking', // when a property has been added in the AsyncAPI document * remove: 'breaking', // when a property has been removed from the AsyncAPI document * edit: 'unclassified' // when a property has been edited in the AsyncAPI document * } * }, * outputType: "yaml" * }) * ``` */ export declare function diff(firstDocument: any, secondDocument: any, config?: Config): AsyncAPIDiff;