import { n as CHANNEL_TARGET_DESCRIPTION, t as CHANNEL_TARGETS_DESCRIPTION } from "./channel-target-Ce9GdVgj.js";
import { Type } from "@sinclair/typebox";

//#region src/agents/schema/typebox.ts
function stringEnum(values, options = {}) {
	return Type.Unsafe({
		type: "string",
		enum: [...values],
		...options
	});
}
function optionalStringEnum(values, options = {}) {
	return Type.Optional(stringEnum(values, options));
}
function channelTargetSchema(options) {
	return Type.String({ description: options?.description ?? CHANNEL_TARGET_DESCRIPTION });
}
function channelTargetsSchema(options) {
	return Type.Array(channelTargetSchema({ description: options?.description ?? CHANNEL_TARGETS_DESCRIPTION }));
}

//#endregion
export { stringEnum as i, channelTargetsSchema as n, optionalStringEnum as r, channelTargetSchema as t };