import { AnimateProps } from "../animate"; export type ReactText = string | number | boolean | null | undefined | ReactText[]; /** * Wrap around text to animate it. * * @see {@link https://lively.infinityfx.dev/docs/components/text-animation} */ export default function TextAnimation({ children, duration, split, ...props }: Omit, 'stagger' | 'staggerLimit'> & { /** * Total duration of the text animation. * * @default 1 */ duration?: number; /** * Whether to break up text per character or per word. * * @default 'char' */ split?: 'char' | 'word'; }): import("react/jsx-runtime").JSX.Element;