import { ObjectTypes, PackageTypes } from '../constants/index.types.mjs'; /** * * @param arg: object * method returns string with argument values spread as string */ declare const spreadObjectToStringHandler: (arg: ObjectTypes, options?: { ignore?: string[]; }) => string; /** * * method returns if value is in array */ declare const arrayIncludesValueHandler: (options: { array: any[]; value: string; }) => boolean; /** * * returns package type */ declare const isPackageWeb: (arg?: PackageTypes) => boolean; declare const isPackageNative: (arg?: PackageTypes) => boolean; /** * * method checks if index is array last item */ declare const isArrayLastItem: (options: { array: any[]; index: number; }) => boolean; /** * undefined check. * @param item * @returns {boolean} */ declare const isUndefined: (item: any) => boolean; /** * string check. * @param item * @returns {boolean} */ declare const isString: (item: any) => boolean; /** * object check. * @param item * @returns {boolean} */ declare function isObject(item: any): any; /** * array check. * @param item * @returns {boolean} */ declare function isArray(item: any): any; /** * * @param target : any * @param source : any * @returns {Object} new object merged together */ declare const mergedObjectsHandler: (target: any, source: any) => any; declare const iterateObjectHandler: (options: { obj: ObjectTypes; defaultKey?: string; defaultObj?: ObjectTypes; prefix?: boolean; prefixValue?: string; }) => ObjectTypes; /** * * @param options : ConvertNestObjectToNonNestedObjectOptions * @returns : Record * @NOTE This method convert multi-nested object into a single object * with prefix support. * This is particular useful while generation css variable for a theme */ type ConvertNestObjectToNonNestedObjectOptions = { obj: ObjectTypes; prefix?: boolean; prefixValue?: string; }; declare const convertNestObjectToNonNestedObject: (options: ConvertNestObjectToNonNestedObjectOptions) => ObjectTypes; /** * * @param options : { length: number } * @returns {string} */ declare const generateUIDHandler: (options?: { length: number; }) => string; export { arrayIncludesValueHandler, convertNestObjectToNonNestedObject, generateUIDHandler, isArray, isArrayLastItem, isObject, isPackageNative, isPackageWeb, isString, isUndefined, iterateObjectHandler, mergedObjectsHandler, spreadObjectToStringHandler };