import { n as stylePromptMessage, t as stylePromptHint } from "./prompt-style-DlHDbVOh.js";
//#region packages/terminal-core/src/prompt-select-styled-params.ts
const defaultStylers = {
	message: stylePromptMessage,
	hint: stylePromptHint
};
function styleSelectParams(params, stylers = defaultStylers) {
	return {
		...params,
		message: stylers.message(params.message),
		options: params.options.map((opt) => {
			const hint = "hint" in opt && typeof opt.hint === "string" ? opt.hint : void 0;
			return hint === void 0 ? opt : {
				...opt,
				hint: stylers.hint(hint)
			};
		})
	};
}
//#endregion
export { styleSelectParams as t };
