import { Color, Font } from "../../types";
import { DynamicWord } from "../../elements/character/sentence";
import { Pausing } from "../../elements/character/pause";
export type WordConfig = {
    className: string;
    ruby: string;
    color: Color;
    pause: boolean;
    cps?: number;
} & Font;
export declare class Word<T extends string | DynamicWord | Pausing = string | DynamicWord | Pausing> {
    static isWord(obj: any): obj is Word;
    static color(text: string | Word, color: Color): Word;
    static bold(text: string | Word): Word;
    static italic(text: string | Word): Word;
    constructor(text: T, config?: Partial<WordConfig>);
    toString(): string;
}
