/**
 * Wraps APIs to check:
 *
 * 1) If a callback is passed -> Warn users about callback deprecation.
 * 2) If Promise class is implemented in current environment.
 *
 * @private
 *
 * @param api
 *
 * @return
 */
export function wrapForCompatibility(api: Function): Function;

/**
 * @private
 *
 * @param businessObject
 */
export function ensureCompatDiRef(businessObject: ModdleElement): void;

type ModdleElement = import('../model/Types').ModdleElement;
