export declare const dateFormat: (str?: string | Date, format?: string) => string;
/**校验数字 */
export declare const validateNumber: (value: string | number) => boolean;
export declare function digitUppercase(n: number): string;
export declare function getForegroundColor(backgroundColor: string, threshold?: number): "white" | "black";
