-record(module, { types :: list(gwr@syntax@types:function_type()), functions :: list(gwr@syntax@module:function_()), tables :: list(gwr@syntax@module:table()), memories :: list(gwr@syntax@module:memory()), globals :: list(gwr@syntax@module:global()), elements :: list(gwr@syntax@module:element_segment()), datas :: list(gwr@syntax@module:data_segment()), start :: gleam@option:option(gwr@syntax@module:start_function()), imports :: list(gwr@syntax@module:import()), exports :: list(gwr@syntax@module:export()) }).