UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

12 lines (11 loc) 579 B
type GsapCoreTimeline = gsap.core.Timeline; type GsapCoreTimelineVars = gsap.TimelineVars; type GsapTweenVars = gsap.TweenVars; export interface GsapFactory { gsap: typeof gsap | undefined; timeline: (vars?: GsapCoreTimelineVars | undefined) => GsapCoreTimeline | undefined; } export declare const GSAP_FACTORY: GsapFactory; declare function gsapTimeline(vars?: GsapCoreTimelineVars | undefined): gsap.core.Timeline | undefined; declare function gsapLib(): typeof gsap | undefined; export { gsapTimeline, gsapLib, GsapCoreTimeline, GsapCoreTimelineVars, GsapTweenVars };