export declare enum GetRandomStrEnum {
    /** 大写字母 */
    Large = 1,
    /** 小写字母 */
    Small = 2,
    /** 大小写字母 */
    LargeSmall = 3,
    /** 数字 */
    Number = 4,
    /** 大写字母 数字 */
    LargeNumber = 5,
    /** 小写字母 数字 */
    SmallNumber = 6,
    /** 大小写字母 数字 */
    LargeSmallNumber = 7
}
export declare class Randoms {
    /**
   * 获取随机数(整数)
   * @param min 最小值
   * @param max 最大值
   * @returns 随机数 [min,max)
   */
    static int: typeof Randoms.getRandomInt;
    /**
   * 获取随机字符串
   * @param len 长度
   * @param str 字符串或者枚举
   * @param ignore 忽略
   */
    static str: typeof Randoms.getRandomStr;
    /**
   * 随机获取颜色
   */
    static color: typeof Randoms.getRandomColor;
    /**
   * 全局唯一标识符
   */
    static uuid(): string;
    /**
   * 打乱数组
   * @param array 数组
   * @returns 打乱后的数组
   */
    static confusion: typeof Randoms.getDisorganizeArray;
    /**
   * 获取随机数(整数)
   * @param min 最小值
   * @param max 最大值
   * @returns 随机数 [min,max)
   */
    static getRandomInt(min: number, max: number): number;
    /**
   * 打乱数组
   * @param array 数组
   * @returns 打乱后的数组
   */
    static getDisorganizeArray<T>(array: T[]): T[];
    /**
   * 获取随机字符串
   * @param len 长度
   * @param str 字符串或者枚举
   * @param ignore 忽略
   */
    static getRandomStr(len: number, str?: GetRandomStrEnum | string, ignore?: string): string;
    /**
   * 随机获取数组下表 通过权重随机
   * @param arr
   * @param weightKey
   */
    static getRandomIndexByWeight(arr: [], weightKey?: string): number | undefined;
    /**
   * 随机获取颜色
   */
    static getRandomColor(): string;
}
