export type AnimationName = string; export type AnimationEndMode = "name-only" | "clear-all"; export type AnimSpec = Readonly<{ name: AnimationName; duration: string; timingFunction?: string; delay?: string; iterationCount?: string; direction?: string; fillMode?: string; playState?: string; }>; export type AnimAdapters = Readonly<{ setStyleProp: (tree: TTree, prop: string, value: string) => TTree; forEachDomElement: (tree: TTree, fn: (el: Element) => void) => void; getFirstDomElement: (tree: TTree) => Element | undefined; }>; export type AnimApi = Readonly<{ begin: (spec: AnimSpec) => TTree; restart: (spec: AnimSpec) => TTree; beginName: (name: AnimationName) => TTree; restartName: (name: AnimationName) => TTree; end: (mode?: AnimationEndMode) => TTree; setPlayState: (state: "running" | "paused") => TTree; pause: () => TTree; resume: () => TTree; }>; export type AnimApiCore = Readonly<{ begin: (tree: TTree, spec: AnimSpec) => TTree; restart: (tree: TTree, spec: AnimSpec) => TTree; beginName: (tree: TTree, name: AnimationName) => TTree; restartName: (tree: TTree, name: AnimationName) => TTree; end: (tree: TTree, mode?: AnimationEndMode) => TTree; setPlayState: (tree: TTree, state: "running" | "paused") => TTree; pause: (tree: TTree) => TTree; resume: (tree: TTree) => TTree; }>; export type CssAnimHandle = AnimApi; export type CssAnimScope = Readonly<{ quids: readonly string[]; }>; //# sourceMappingURL=animate.types.d.ts.map