<commit_before>// Type definitions for randomColor 0.5.2
// Project: https://github.com/davidmerfield/randomColor
// Definitions by: <NAME> <https://github.com/feitzi>, <NAME> <https://github.com/BradyLiles>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function randomColor(options?: RandomColorOptionsSingle): string;
declare function randomColor(options?: RandomColorOptionsMultiple): string[];

interface RandomColorOptionsSingle {
	hue?: number | string;
	luminosity?: "bright" | "light" | "dark" | "random";
	seed?: number | string;
	format?: "hsvArray" | "hslArray" | "hsl" | "hsla" | "rgbArray" | "rgb" | "rgba" | "hex";
	alpha?: number;
}

interface RandomColorOptionsMultiple extends RandomColorOptionsSingle {
	count: number;
}

declare module "randomcolor" {
	export = randomColor;
}<commit_msg>Remove ambient module declaration in 'randomColor'. (#43033)<commit_after>// Type definitions for randomColor 0.5.2
// Project: https://github.com/davidmerfield/randomColor
// Definitions by: <NAME> <https://github.com/feitzi>, <NAME> <https://github.com/BradyLiles>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function randomColor(options?: RandomColorOptionsSingle): string;
declare function randomColor(options?: RandomColorOptionsMultiple): string[];

interface RandomColorOptionsSingle {
	hue?: number | string;
	luminosity?: "bright" | "light" | "dark" | "random";
	seed?: number | string;
	format?: "hsvArray" | "hslArray" | "hsl" | "hsla" | "rgbArray" | "rgb" | "rgba" | "hex";
	alpha?: number;
}

interface RandomColorOptionsMultiple extends RandomColorOptionsSingle {
	count: number;
}

export = randomColor;
export as namespace randomColor;
{'fraction_non_alphanumeric': 0.14593023255813953, 'fraction_numerical': 0.006395348837209302, 'mean_word_length': 5.939516129032258, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3369776', 'n_tokens_mistral': 541, 'n_tokens_neox': 526, 'n_words': 129}