import {expectType} from 'tsd'; import type {Arrayable} from '../index'; declare const unknown: unknown; expectType>(unknown as string | readonly string[]); expectType>(unknown as (string | {foo: number}) | ReadonlyArray); expectType>(unknown as /* never | */ readonly never[]); expectType>(unknown as string[] | readonly string[][]);