export declare type AnimationTargetOptions = string | string[] | Element | Element[] | {} | {}[]; export declare type AnimationTarget = (Element | {})[]; export interface IAnimationEngine { set(to: ISetOperation[]): void; transition(to: ITargetTimeline[]): void; } export interface ISetOperation { targetId: string; targets: any[]; props: {}; } export interface ITargetTimeline { targetId: string; targets: any[]; animations: ITargetAnimation[]; onStateChange: (stateName: string) => void; } export interface ITargetAnimation { stateName: string; keyframes: Dictionary[]; duration: number; easing: string; } export declare type Dictionary = { [name: string]: T; }; export declare type List = { [key: number]: T; length: number; }; export declare type Predicate = { (t: T): boolean; }; export declare type Func = { (item: TInput): TOutput; };