/** * Get object or String value of an object from key * sample usage: getObject(object,key1.key2) * @param {object} datalayer - datalayer object * @param {string} objectKey? - optional * @returns {any} returns object by key or string value */ export declare function getObject(datalayer: object, objectKey?: string): any; /** This interface will be used to get on which field to aggregate for a collection */ export interface CollectionAggField { field?: string; collectionName: string; } /** checks if there is a common string in the given arrays */ export declare function hasAtLeastOneCommon(collections1: string[], collections2: string[]): boolean; export declare function fromEntries(map: Map): { [k: string]: T; }; export interface CollectionCount { count: number; collection: string; }