export interface UseTypewriterOptions { /** * Milliseconds per character when typing. * @default 150 */ typingSpeed?: number; /** * Milliseconds per character when deleting. * @default 20 */ deletingSpeed?: number; /** * Milliseconds to pause after typing a full word before deleting. * @default 1000 */ pauseDuration?: number; } /** * A hook that types out a list of texts character by character. * @param texts - The list of texts to type out. * @param enabled - Whether the hook is enabled. * @param options - The options for the hook. * @param options.typingSpeed - The speed at which to type out the text. * @param options.deletingSpeed - The speed at which to delete the text. * @param options.pauseDuration - The duration to pause after typing a full word before deleting. */ export declare function useTypewriter(texts: string[], enabled?: boolean, options?: UseTypewriterOptions): string;