/** Block types registered in the SDUI renderer (snake_case wire). */ export const SDUI_BLOCK_TYPES = [ 'text', 'button', 'column', 'row', 'scroll', 'spacer', 'info_banner', 'native_ad', 'inbox_hub_chrome', 'select_row', ] as const; export type SduiBlockType = (typeof SDUI_BLOCK_TYPES)[number]; export function isKnownBlockType(type: string): type is SduiBlockType { return (SDUI_BLOCK_TYPES as readonly string[]).includes(type); }