import { IBaseImmutable as INodeImmutable, IBaseMutable as INodeMutable } from "../INode"; import { Copy } from "./copy"; import Type from "./Type"; export declare enum Size { Tiny = "tiny", Smallest = "smallest", Smaller = "smaller", Small = "small", Normal = "normal", Large = "large", Larger = "larger", Largest = "largest", Huge = "huge" } export declare enum Weight { Light = "light", Normal = "normal", Bold = "bold" } export declare enum Slope { Normal = "normal", Italic = "italic" } export interface IImmutable extends INodeImmutable { readonly text: string; readonly localizedText?: string; readonly size: Size; readonly weight: Weight; readonly slope: Slope; } export interface IMutable extends IImmutable, INodeMutable { text: string; localizedText?: string; size: Size; weight: Weight; slope: Slope; } export default IMutable; export interface IOptions { text: string; localizedText?: string; size?: Size; weight?: Weight; slope?: Slope; copy?: Copy; } export declare type Init = string | IOptions; export interface IStatic { new (init: Init): IMutable; } export declare type IExtendedMutable = IMutable & IExtension; export declare type IExtendedImmutable = IImmutable & IExtension; export { IExtendedMutable as IExtended };