import Decimal from 'decimal.js'; import type { FormulaValueOptions, RoundingType } from './type'; declare function isPlainObject(obj: any): obj is Record; declare function hasOwnProp(obj: any, key: PropertyKey): boolean; declare function isFunction(value: any): value is Function; declare function isString(value: any): value is string; declare function isNumber(value: any): value is number; declare function isDecimal(value: any, options: FormulaValueOptions): value is Decimal; declare function isDecimalValue(value: any, options: FormulaValueOptions): boolean; declare function isDecimalTrue(value: any, options: FormulaValueOptions): any; declare function toDecimal(value: any, options: FormulaValueOptions): Decimal; declare function toRound(value: Decimal.Value, decimalPlaces?: number, rounding?: Decimal.Rounding | RoundingType): Decimal; declare function toFixed(value: Decimal.Value | null | undefined, options?: { precision?: number | [min: number, max: number]; comma?: boolean; commaStr?: string; commaDigit?: number; nullStr?: string; trimTrailingZero?: boolean; trimTrailingZeroIfInt?: boolean; rounding?: Decimal.Rounding | RoundingType; }): string; declare function getValueByPath(data: Record, path: string, onNotFind?: (path: string, options: { parsedPath: string; pre: any; isLeaf: boolean; paths: string[]; }) => void, defaultValue?: any): any; declare function isValueType(value: any, type: 'bool' | 'boolean' | 'string' | 'array' | 'number' | 'NaN' | 'Infinity' | 'null' | 'object'): boolean; declare function isPromise(v: any): v is Promise; declare function nextWithPromise(proms: T, next?: (...args: any[]) => R, spread?: boolean): R | Promise; declare function flatten(array: any[]): any[]; declare function removeFormArray(array: T[], value: T): boolean; declare function isStringNumber(str: string): boolean; export { isPlainObject, isString, isFunction, isNumber, isPromise, isValueType, isDecimal, isDecimalTrue, isDecimalValue, toDecimal, toRound, toFixed, hasOwnProp, isStringNumber, getValueByPath, nextWithPromise, flatten, removeFormArray, };