import { FormatNumberConfig, OverflowControlConfig } from '../types'; /** * Format number or string to a specific format string. * @remarks * Anonymous formatting occurs when the config is undefined. * @param data * The origin value to format. * @returns * Return formatted string. */ export declare const formatNumber: (data: Maybe, config?: FormatNumberConfig) => Meta; /** * Limit the display space of strings. * @param data * The origin value to control. * @return * Return controlled string. */ export declare const overflowControl: (data: Maybe, config: OverflowControlConfig) => Maybe;