import React from 'react'; interface SpringParams { stiffness?: number; damping?: number; mass?: number; precision?: number; } interface TextMorphOptions { debug?: boolean; element: HTMLElement; locale?: Intl.LocalesArgument; scale?: boolean; duration?: number; ease?: string | SpringParams; disabled?: boolean; respectReducedMotion?: boolean; onAnimationStart?: () => void; onAnimationComplete?: () => void; } type TextMorphProps = Omit & { children: React.ReactNode; className?: string; style?: React.CSSProperties; as?: React.ElementType; }; declare const TextMorph: ({ children, className, style, as, ...props }: TextMorphProps) => React.JSX.Element; declare function useTextMorph(props: Omit): { ref: React.MutableRefObject; update: (text: string) => void; }; export { TextMorph, type TextMorphProps, useTextMorph };