export function isAssistantThinkingBlockType(type) {
    return type === "thinking" || type === "redacted_thinking";
}
export function contentArrayHasAssistantThinkingBlock(content) {
    return content.some((block) => {
        if (!block || typeof block !== "object")
            return false;
        return isAssistantThinkingBlockType(block.type);
    });
}
export function messageHasAssistantThinkingContentBlock(message) {
    return message.role === "assistant" &&
        Array.isArray(message.content) &&
        contentArrayHasAssistantThinkingBlock(message.content);
}
//# sourceMappingURL=thinking-blocks.js.map