import React from 'react'; import { Animated } from 'react-native'; import { StretchyProps } from '../types'; import { UseStretchyOutput } from '../hooks/useStretchy'; export declare type PropsWithStretchy

= P & { stretchy: UseStretchyOutput; }; export declare type StretchyComponentProps = StretchyProps & Omit, 'onScroll'>; export declare const WithStretchy: (WrappedComponent: React.ForwardRefExoticComponent, Exclude> & { stretchy: UseStretchyOutput; } & { children?: React.ReactNode; } & React.RefAttributes>) => React.ForwardRefExoticComponent>> & React.RefAttributes>;