import { AppNamespace, PropProviderProps, ConfigGetter } from './types'; /** * Namespaces */ export declare const APPS: { beacon: string; hsApp: string; }; export declare const propProviderAppNamespace: string; export declare const propProviderAppNamespaceValue: string; export declare const propProviderDataAttr: string; /** * Default Config */ export declare const contextConfig: PropProviderProps; /** * Sets the internal global app namespace for Blue components. * @param {Object} config The initial PropProvider config. * @param {string} namespace The namespace for the App. * @returns {Object} The modified PropProvider config. */ export declare function setGlobalApp(config: PropProviderProps, namespace: AppNamespace): PropProviderProps; /** * Retrieves the internal global config for Blue components. * @param {Object} config The initial PropProvider config. * @returns {Object} The PropProvider global config */ export declare function getGlobal(config: PropProviderProps): Object; /** * Retrieves the internal global app namespace for Blue components. * @param {Object} config The initial PropProvider config. * @returns {string} The namespace for the App. */ export declare function getGlobalApp(config: PropProviderProps): AppNamespace; export declare function getGlobalAppFromProps(props: Object): AppNamespace; export declare function isBeacon(props: Object): boolean; export declare function isHSApp(props: Object): boolean; /** * Merge contextProps with parent contextProps. * @param {Object} props The initial PropProvider configs. * @param {Object} nextProps The next PropProvider configs. * @returns {Object} The merged props. */ export declare function shallowMergeProps(props?: Object, nextProps?: Object): { constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: string | number | symbol): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: string | number | symbol): boolean; }; /** * Attempts to retrieve the specified config props. * * @param {Object} config The PropProvider configs. * @param {Array | Function | Object | string} getter The namespace of the config. * @returns {Object} The retrieved config props. */ export declare function getConfigProps(config: Object, getter?: ConfigGetter): Object; /** * Retrieves props from a config (Object), given a collection of keys. * * @param {Object} config The initial config. * @param {Array} array A collection of keys to get. * @returns {Object} The remapped config. */ export declare function getConfigPropsFromArray(config: Object | undefined, array: Array): Object;