import React from "react"; import { Animated } from "./node/Animated"; export declare type AnimatableComponent = React.ElementType | React.ComponentType; export declare type AnimatableComponentProps = Omit<{ [property in keyof React.ComponentPropsWithoutRef]: React.ComponentPropsWithoutRef[property] | Animated; }, "style"> & { style?: { [key in keyof React.CSSProperties]: React.CSSProperties[key] | Animated; }; }; export declare function createAnimatedComponent(Component: C): React.ForwardRefExoticComponent> & React.RefAttributes>;