import { AnimationOptions as PopMotionAnimationOptions, DecayOptions, KeyframeOptions, SpringOptions } from 'popmotion'; export type OmitFromTo = Omit; export type OmitPopMotionLifecycles = Omit, 'onUpdate' | 'onComplete' | 'onRepeat' | 'onPlay' | 'onStop'>; export type BaseOptions = OmitFromTo & (OmitFromTo | OmitFromTo> | OmitFromTo); export type PropertyOptionsObject = (OmitPopMotionLifecycles & (DecayOptions | KeyframeOptions | SpringOptions)); export type PropertyOptions = string | number | (string | number)[] | PropertyOptionsObject; export type AnimationVariants = { [key: string]: AnimationOptions; }; export interface AnimationUpdate { options: AnimationOptions; property: string; value: any; from?: any; to?: any; } type PartialRecord = { [P in K]?: T; }; export type AnimationOptions = (PartialRecord | { [key: string]: PropertyOptions; }) & Partial; export declare enum SupportedProperties { 'borderWidth' = 0, 'borderTopWidth' = 1, 'borderRightWidth' = 2, 'borderBottomWidth' = 3, 'borderLeftWidth' = 4, 'borderRadius' = 5, 'radius' = 6, 'borderTopLeftRadius' = 7, 'borderTopRightRadius' = 8, 'borderBottomRightRadius' = 9, 'borderBottomLeftRadius' = 10, 'width' = 11, 'maxWidth' = 12, 'height' = 13, 'maxHeight' = 14, 'size' = 15, 'top' = 16, 'right' = 17, 'bottom' = 18, 'left' = 19, 'padding' = 20, 'paddingTop' = 21, 'paddingRight' = 22, 'paddingBottom' = 23, 'paddingLeft' = 24, 'margin' = 25, 'marginTop' = 26, 'marginRight' = 27, 'marginBottom' = 28, 'marginLeft' = 29, 'rotate' = 30, 'rotateX' = 31, 'rotateY' = 32, 'rotateZ' = 33, 'scale' = 34, 'scaleX' = 35, 'scaleY' = 36, 'scaleZ' = 37, 'skew' = 38, 'skewX' = 39, 'skewY' = 40, 'distance' = 41, 'translateX' = 42, 'translateY' = 43, 'translateZ' = 44, 'x' = 45, 'y' = 46, 'z' = 47, 'perspective' = 48, 'transformPerspective' = 49, 'opacity' = 50, 'originX' = 51, 'originY' = 52, 'originZ' = 53, 'zIndex' = 54, 'fillOpacity' = 55, 'strokeOpacity' = 56, 'numOctaves' = 57, 'color' = 58, 'backgroundColor' = 59, 'outlineColor' = 60, 'fill' = 61, 'stroke' = 62, 'borderColor' = 63, 'borderTopColor' = 64, 'borderRightColor' = 65, 'borderBottomColor' = 66, 'borderLeftColor' = 67, 'filter' = 68, 'WebkitFilter' = 69 } export declare enum AnimationOptionKeys { 'autoplay' = 0, 'driver' = 1, 'elapsed' = 2, 'repeat' = 3, 'repeatType' = 4, 'repeatDelay' = 5, 'type' = 6, 'velocity' = 7, 'power' = 8, 'timeConstant' = 9, 'modifyTarget' = 10, 'restDelta' = 11, 'duration' = 12, 'ease' = 13, 'offset' = 14, 'bounce' = 15, 'restSpeed' = 16 } export declare const animationOptions: (string | AnimationOptionKeys)[]; export {};