const TransitionTrait:
Trait<Defaulted<InputTypes<{ effect: UseTrait<Defaulted<InputTypes<{ type: (s?: string) => SlideEffect, ease: (s?: string) => SlideEase, direction: (s: any) => XYZW, delay: (value?: number) => number, duration: (value?: number) => number }>, { effect: string, direction: string, ease: string, delay: number, duration: number }>, OutputTypes<{ type: (s?: string) => SlideEffect, ease: (s?: string) => SlideEase, direction: (s: any) => XYZW, delay: (value?: number) => number, duration: (value?: number) => number }>>, enter: (t?: Defaulted<InputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }>, { }>) => | OutputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }> | undefined, exit: (t?: Defaulted<InputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }>, { }>) => | OutputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }> | undefined }>, { effect: { } }>,
OutputTypes<{ effect: UseTrait<Defaulted<InputTypes<{ type: (s?: string) => SlideEffect, ease: (s?: string) => SlideEase, direction: (s: any) => XYZW, delay: (value?: number) => number, duration: (value?: number) => number }>, { effect: string, direction: string, ease: string, delay: number, duration: number }>, OutputTypes<{ type: (s?: string) => SlideEffect, ease: (s?: string) => SlideEase, direction: (s: any) => XYZW, delay: (value?: number) => number, duration: (value?: number) => number }>>, enter: (t?: Defaulted<InputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }>, { }>) => | OutputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }> | undefined, exit: (t?: Defaulted<InputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }>, { }>) => | OutputTypes<{ type: (t?: unknown) => unknown; ease: (t?: unknown) => unknown; direction: (t?: unknown) => unknown; delay: (t?: unknown) => unknown; duration: (t?: unknown) => unknown; }> | undefined }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / present / src / traits.ts