import type { EasingType, IAnimate, IStep } from '@visactor/vrender-core';
import { ACustomAnimate } from './custom-animate';
export declare class InputText extends ACustomAnimate<{
    text: string;
}> {
    valid: boolean;
    private fromText;
    private toText;
    private showCursor;
    private cursorChar;
    private blinkCursor;
    private beforeText;
    private afterText;
    constructor(from: {
        text: string;
    }, to: {
        text: string;
    }, duration: number, easing: EasingType, params?: {
        showCursor?: boolean;
        cursorChar?: string;
        blinkCursor?: boolean;
        beforeText?: string;
        afterText?: string;
    });
    onFirstRun(): void;
    onEnd(cb?: (animate: IAnimate, step: IStep) => void): void;
    onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
}
