/// import SplitText from 'gsap/SplitText'; import { type ComponentPropsWithoutRef, type JSX, type JSXElementConstructor, type ReactNode, type RefObject } from 'react'; /** * Allowed as prop values */ type KnownTarget = keyof JSX.IntrinsicElements | JSXElementConstructor; type SplitTextWrapperProps = { ref: RefObject; /** * The SplitText variables * @link https://greensock.com/docs/v3/Plugins/SplitText */ variables?: SplitText.Vars; /** * The element type to render, the default is `div` */ as?: T; /** * Split the first element child of the element passed */ splitFirstElementChild?: boolean; } & ComponentPropsWithoutRef; export declare function SplitTextWrapper({ variables, as, children, splitFirstElementChild, ref, ...props }: SplitTextWrapperProps): ReactNode; export {};