/** * 用于构造函数的分配函数 * @param objThis 目标对象 * @param data 待处理的数据 */ export declare function assignInConstructor(objThis: object, data?: object): void; /** * Convert a value to a string that is actually rendered. */ export declare function toString(val: any): string; /** * Convert a input value to a number for persistence. * If the conversion fails, return original string. */ export declare function toNumber(val: string): number | string; /** * Make a map and return a function for checking if a key * is in that map. */ export declare function makeMap(str: string, expectsLowerCase?: boolean): (key: string) => true | void; /** * Check if a tag is a built-in tag. */ export declare const isBuiltInTag: (key: string) => true | void; /** * Check if a attribute is a reserved attribute. */ export declare const isReservedAttribute: (key: string) => true | void; /** * Remove an item from an array */ export declare function remove(arr: Array, item: any): Array | void; export declare function hasOwn(obj: object | Array, key: string): boolean; /** * Create a cached version of a pure function. */ export declare const cached: (fn: Function) => (...args: any[]) => any; export declare const camelize: (...args: any[]) => any; /** * Capitalize a string. */ export declare const capitalize: (...args: any[]) => any; export declare const hyphenate: (...args: any[]) => any; /** * Simple bind, faster than native */ export declare function bind(fn: Function, ctx: object): Function; /** * Mix properties into target object. */ export declare function extend(to: object, _from?: object): object; export declare function objectWithoutProperties(obj: T, exclude: K[]): Pick>; /** * Merge an Array of objects into a single object. */ export declare function toobject(arr: Array): object;