import { FunctionProp, WtSafeAny } from 'ngx-wonton/core/types'; export declare function toBoolean(value: boolean | string): boolean; export declare function toNumber(value: number | string): number; export declare function toNumber(value: number | string, fallback: D): number | D; export declare function toCssPixel(value: number | string): string; /** * Get the function-property type's value */ export declare function valueFunctionProp(prop: FunctionProp | T, ...args: WtSafeAny[]): T; /** * Input decorator that handle a prop to do get/set automatically with toBoolean * * Why not using @InputBoolean alone without @Input? AOT needs @Input to be visible * * @howToUse * ``` * @Input() @InputBoolean() visible: boolean = false; * * // Act as below: * // @Input() * // get visible() { return this.__visible; } * // set visible(value) { this.__visible = value; } * // __visible = false; * ``` */ export declare function InputBoolean(): WtSafeAny; export declare function InputCssPixel(): WtSafeAny; export declare function InputNumber(fallbackValue?: WtSafeAny): WtSafeAny;