const LabelTrait:
Trait<Defaulted<InputTypes<{ size: (t?: number) => number | undefined, depth: (t?: number) => number | undefined, expand: (value?: number) => number }>, { size: number }>,
OutputTypes<{ size: (t?: number) => number | undefined, depth: (t?: number) => number | undefined, expand: (value?: number) => number }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts