/**
* Provides APIs to set and get runtimeParams which will be used by nebula components
* @class RuntimeParamsAPI
* @private
*/
declare class RuntimeParamsAPI {
runtimeParams: {
[key: string]: object;
};
runtimeParamsMap: {
[key: string]: string;
};
constructor();
/**
* sets runtimeParams
* @param runtimeParams
* @example
PCore.getRuntimeParamsAPI().setRuntimeParams({})
* @private
*/
setRuntimeParams(runtimeParams: {
[key: string]: object;
}): void;
/**
* returns runtimeParams object
* @example PCore.getRuntimeParamsAPI().getRuntimeParams()
* @private
*/
getRuntimeParams(): {
[key: string]: object;
};
/**
* This API is used to set a value for the given property at the global level
* @example
* PCore.getRuntimeParamsAPI().setRuntimeParam('context', 'app');
*
* @param key property key
* @param value property value
* @private
*/
setRuntimeParam(key: string, value: string): void;
/**
* This API is used to get a specific for the given property at global level
* @example
* PCore.getRuntimeParamsAPI().setRuntimeParam('context', 'app');
* const runtimeContext = RuntimeParamsAPI.getRuntimeParam('context');
*
* @param key property key
* @returns property value
* @private
*/
getRuntimeParam(key: string): string;
}
declare const _default: RuntimeParamsAPI;
export default _default;