/** * Copyright (c) 2018 - 2022 Dell Inc., or its subsidiaries. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 */ /// export declare const NUMBER_RE: RegExp; export declare type ReactChildren = React.ReactNode | (React.ReactNode[] & React.ReactNode); export declare enum KEYBOARD_KEYS { ESCAPE = "Escape", TAB = "Tab", ENTER = "Enter", SPACE = " ", BACKSPACE = "Backspace", DELETE = "Delete" } export declare function classNames(classNameList: (false | undefined | null | string)[]): string; export declare function allTrue(obj: any): boolean; export declare function allTrueOnKey(obj: any, key: any): boolean; export declare function allFalseOnKey(obj: any, key: any): boolean; /** * Function to check if input is a number. * @param {input} - The input to be checked. * @returns True if the input is a number, false otherwise. */ export declare function isNumber(input: any): boolean; /** * Function to check if a key event allows only number inputs. * @param {evt} - The key event to be checked. * @returns True if the event allows only number inputs, false otherwise. */ export declare function allowOnlyIntegers(evt: any): boolean;