/** Core */ import { Generic } from "cmf.core/src/core"; /** Angular2 */ import { PipeTransform } from "@angular/core"; /** Nested components*/ import { EntityTypePropertyValueType as SimpleType } from "cmf.core/src/domain/extensions/caches/entityType"; export { SimpleType }; /** * Given a type (SimpleType), and a value (string) returns a promise to an object of that value type * * ### Example * * ``` * {{valueObj | cmfCoreControlsAsyncConvertStringSimpleValue:complexTypeObj}} * {{plainValue | cmfCoreControlsAsyncConvertStringSimpleValue:simpleType}} * ``` */ export declare class AsyncConvertStringSimpleValue extends Generic implements PipeTransform { /** * Given a simple type and a string value returns a promise to a value of the given type * @param value String value to convert * @param type Simple type used to convert the value * @param shortFormat Short format flag */ getValue(value: string, simpleType: SimpleType, shortFormat?: boolean): Promise; /** * Transform * @param value Value * @param args Args[0] = simpleType; Args[1] = shortFormat */ transform(value: any, ...args: any[]): Promise; } export declare class AsyncConvertStringSimpleValueModule { }