UNPKG

typing-flow

Version:

Npm package for typing animation for web

17 lines (16 loc) 575 B
import { TypingNode } from '../nodes/nodes.types'; import { CanBeArray, TypingFlowConfig } from '../shared/types'; import { HooksModule } from './modules/hooks-module'; export declare class TypingFlow { private _config; private _typingNodes; private _hooksModule; private _nodeHandlersModule; constructor(config: TypingFlowConfig); commands(commands: Array<CanBeArray<TypingNode>>): this; private _handleTypingNode; private _typing; private _executeFlow; on(...args: Parameters<HooksModule["on"]>): this; start(): Promise<this>; }