import { Media, Message } from "@twilio/conversations";
import { CoreUtils } from "./internal-flex-commons/src";
import { DeepPartial } from "./types";
export interface Version {
major: number;
minor: number;
build: number;
}
interface AnyObject {
[key: string]: any;
}
interface HaveSameValuesMethodOptions {
equalUndefinedToEmptyArray?: boolean;
}
export declare class Utils extends CoreUtils {
/**
* Deep merge two objects into a new object.
* @param {A} obj1 obj1
* @param {B} obj2 obj2
* @param {boolean} override override
* @returns {object} merged object
* @template A, B
* @public
* @example
* merge({}, {});
*/
static merge, B extends Record
This logic has a limitation as it depends on "alt" value present in < img/ > tags for inline attachments. * As a result in case of two different images with same name will filter any one of the attachments. * If alt value is not present, it will not filter such inline attachment.
* @param {Message} messageSource Message source from conversation * @returns {Promise