const SlideTrait:
Trait<Defaulted<InputTypes<{ order: (t?: number) => number | undefined, stay: (t?: number) => number | undefined }>, Partial<InputTypes<{ order: (t?: number) => number | undefined, stay: (t?: number) => number | undefined }>>>,
OutputTypes<{ order: (t?: number) => number | undefined, stay: (t?: number) => number | undefined }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / present / src / traits.ts