export type Params = MemoryTestContiguousParams | MemoryTestFragmentedParams export interface MemoryTestContiguousParams { allocate: "string" | "buffer" mode: "memory_test_contiguous" } export interface MemoryTestFragmentedParams { mode: "memory_test_fragmented" }