//#region src/types/ai.types.ts
function e(e) {
	return e.type === "text";
}
function t(e) {
	return e.type === "reasoning";
}
function n(e) {
	return e.type.startsWith("tool-");
}
function r(e) {
	return e.type.replace(/^tool-/, "");
}
//#endregion
export { r as getToolOrDynamicToolName, t as isReasoningUIPart, e as isTextUIPart, n as isToolOrDynamicToolUIPart };
