export interface UseTypewriterOptions {
    /**
     * The full text to animate
     */
    text: string;
    /**
     * Speed in milliseconds per word
     * @default 100
     */
    speed?: number;
    /**
     * Whether the animation is enabled
     * @default true
     */
    enabled?: boolean;
    /**
     * Callback when animation completes
     */
    onComplete?: () => void;
}
export interface UseTypewriterReturn {
    /**
     * The currently visible text
     */
    displayText: string;
    /**
     * Whether the animation is complete
     */
    isComplete: boolean;
    /**
     * Reset the animation
     */
    reset: () => void;
}
/**
 * Custom hook for word-by-word typing animation
 * Shows first sentence immediately to establish bubble width,
 * then animates remaining text word-by-word
 *
 * @example
 * ```tsx
 * const { displayText, isComplete } = useTypewriter({
 *   text: "Hello world. This is a typing animation",
 *   speed: 100,
 *   enabled: true
 * });
 *
 * return <div>{displayText}</div>;
 * ```
 */
export declare const useTypewriter: ({ text, speed, enabled, onComplete, }: UseTypewriterOptions) => UseTypewriterReturn;
