const makeUseTransitionTrait: (
defaults: any,
) => UseTrait<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 }>, any>,
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 }>>
packages / present / src / traits.ts