import { type RefObject } from 'react'; export type CursorAnimationPhase = 'initial' | 'correction' | 'final' | 'complete'; export type UseCursorAnimationResult = { visibleText: string; showCursor: boolean; cursorPhase: CursorAnimationPhase; }; export type UseCursorAnimationOptions = { text: string; initialText?: string; animate?: boolean; delay?: number; waitForPageLoad?: boolean; startOnIntersection?: boolean; intersectionRef?: RefObject; }; export declare function useCursorAnimation({ text, initialText, animate, delay, waitForPageLoad, startOnIntersection, intersectionRef, }: UseCursorAnimationOptions): UseCursorAnimationResult;