import { WarningMessage } from '../types/transformer'; import { APIRule } from '../types/runner'; /** * Generates an unique 22 characters alphanumeric identifier * @returns {string} */ export declare const generateUID: () => string; /** * Performs a deep merge of `source` into `target`. * Mutates `target` only but not its objects and arrays. * @param target Target object into which the source object is merged * @param source Source object that is merged into the target object * @author inspired by [jhildenbiddle](https://stackoverflow.com/a/48218209). */ export declare const merge: (target: T, source: T) => T; /** * Returns the warning text message for a given type * @param type DOM / Deprecation type of warning message * @param usage Code snippet for which the warning message is displayed * @returns Warning message */ export declare const getWarningText: (type: WarningMessage, usage: string) => string; /** * Filter and split API Compatibility rules based on type * @param rules List of API Compatibility rules * @param type Type of rule */ export declare const filterAPIRules: (rules: APIRule[] | undefined, type: string) => APIRule[][];