import * as _angular_core from '@angular/core';
interface WrTypewriterVariableSpeed {
readonly min: number;
readonly max: number;
}
/**
* Classic typewriter — types out a string char-by-char, optionally
* deletes it, then types the next string. Cycles through `[texts]` (or
* a single string) with a blinking cursor.
*
* @example
* ```html
*
*
* ```
*
* @see https://www.reactbits.dev/text-animations/text-type
*/
declare class WrTypewriter {
/** Single string. Use either `text` or `texts`. */
readonly text: _angular_core.InputSignal;
/** Strings to cycle. Use either `text` or `texts`. */
readonly texts: _angular_core.InputSignal;
/** Per-char typing speed in ms. @default 50 */
readonly typingSpeed: _angular_core.InputSignalWithTransform;
/** Initial delay before typing starts, in ms. @default 0 */
readonly initialDelay: _angular_core.InputSignalWithTransform;
/** Pause between sentences (after typing complete, before deleting), in ms. @default 2000 */
readonly pauseDuration: _angular_core.InputSignalWithTransform;
/** Per-char deletion speed in ms. @default 30 */
readonly deletingSpeed: _angular_core.InputSignalWithTransform;
/** Loop back to the first string after the last. @default true */
readonly loop: _angular_core.InputSignalWithTransform;
/** Show the cursor. @default true */
readonly showCursor: _angular_core.InputSignalWithTransform;
/** Hide the cursor while typing / deleting. @default false */
readonly hideCursorWhileTyping: _angular_core.InputSignalWithTransform;
/** Cursor glyph. @default '|' */
readonly cursorCharacter: _angular_core.InputSignal;
/** Cursor blink half-cycle in seconds. @default 0.5 */
readonly cursorBlinkDuration: _angular_core.InputSignalWithTransform;
/** Cycle through these colours per string. */
readonly textColors: _angular_core.InputSignal;
/** Randomise typing speed per char between `min` and `max`. */
readonly variableSpeed: _angular_core.InputSignal;
/** Reverse the string (type it backwards). @default false */
readonly reverseMode: _angular_core.InputSignalWithTransform;
/** Start typing only after the host enters the viewport. @default false */
readonly startOnVisible: _angular_core.InputSignalWithTransform;
/** Emits with `(text, index)` when a string finishes typing. */
readonly sentenceComplete: _angular_core.OutputEmitterRef<{
text: string;
index: number;
}>;
protected readonly displayed: _angular_core.WritableSignal;
protected readonly cursorVisible: _angular_core.Signal;
protected readonly activeColor: _angular_core.Signal;
/** Resolved list of strings (either `texts` or wrap `text` in an array). */
private readonly textArray;
private readonly currentTextIndex;
private readonly phase;
private readonly host;
private readonly destroyRef;
private readonly isBrowser;
private readonly platform;
private timer;
private isVisible;
constructor();
private boot;
private scheduleNext;
private tick;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
export { WrTypewriter };
export type { WrTypewriterVariableSpeed };