import React, { ComponentType, CSSProperties, FC } from 'react'; import { LineWrapperProp, WordWrapperProp, LetterWrapperProp } from './Wrappers'; export interface SplitTextProps { /** * className to forward to the container. * @type string */ className?: string; /** * A style object to forward to the container. * @type CSSProperties */ style?: CSSProperties; /** * A React ref to forward to the container. * @type A React ref */ ref?: ((instance: unknown) => void) | React.MutableRefObject | null; /** * A custom component to wrap each split line. * @type ComponentType */ LineWrapper?: ComponentType; /** * A custom component to wrap each split word. * @type ComponentType */ WordWrapper?: ComponentType; /** * A custom component to wrap each split letter. * @type ComponentType */ LetterWrapper?: ComponentType; /** * An extra value that will be forwarded to each wrappers. * @type T = any */ extraProps?: T; } export declare const SplitText: FC;