import { ISEProduct } from '@cee-eng/hydrajs/@types/models/product'; import React from 'react'; import { CaseValuesToWatch } from './Constants'; /** * * A function that returns a translated string for a tooltip of the given case value that is being watched * for changes. * * @param valueNameCb A cb that returns the name of the value used in the string of the tooltip * @param accessor A callback whose argument is the "current" or "previous" value and * should return a human readable form of the given object. */ export declare function getChangedValueTooltip(valueNameCb: (current: T, previous: T) => CaseValuesToWatch, accessor?: (value: T, otherValue: T) => any): (currentValue: T, previousValue: T) => React.JSX.Element; export declare const isPhoneValid: (countryCode: string, phoneLine: string) => boolean; export declare const trimAndReplacePlus: (value: string) => string; export declare const removeAllSpaces: (value: string) => string; export declare const removeAllChars: (value: string) => string; export declare const getProductObj: (products: Partial[], product: string) => Partial; export declare const getProductObjById: (products: Partial[], productId?: string) => Partial; //# sourceMappingURL=utils.d.ts.map