import { IAccessor } from '@iotize/common/data-accessor'; import { VariableType } from '@iotize/tap/service/impl/variable'; export declare function isTruthy(v: string | number | undefined, falsyValue?: string[]): boolean; export declare function convertToVariableType(accessor: IAccessor): VariableType.Data; export declare function fromMapping(data: IAccessor, attributeName: string, mapping: Record, defaultValue?: string): T | undefined; /** * TODO add to common lib (toEnumFromValue) * @param mapping * @param value */ export declare function stringToEnum(mapping: any, value: string): OutputType; export declare function mapKey(object: T, key: keyof T, value: T[keyof T]): void;