import { Component, CSSProperties, h } from 'preact'; export interface GradientTextProps { style?: CSSProperties; text?: string; color?: string; fontSize?: number; font?: string; alignment?: string; direction?: string; colorTop?: string; colorBottom?: string; colorLeft?: string; colorRight?: string; fitRectTransform?: boolean; richText?: boolean; alignByGeometry?: boolean; horizontalOverflow?: string; verticalOverflow?: string; bestFit?: boolean; raycastTarget?: boolean; fontStyle?: string; lineSpacing?: number; } export declare class GradientText extends Component { isPrintLog: boolean; textObj: null; gradientObj: null; constructor(props: any); componentDidUpdate(): void; static getDerivedStateFromProps(props: any, state: any): { text: any; color: any; fontSize: any; font: any; alignment: any; direction: any; colorTop: any; colorBottom: any; colorLeft: any; colorRight: any; fitRectTransform: any; richText: any; alignByGeometry: any; horizontalOverflow: any; verticalOverflow: any; bestFit: any; raycastTarget: any; fontStyle: any; lineSpacing: any; } | null; getCSharp(): any; onLoad: (e: any) => void; updateGradientText(): void; transFont(fontName: any): any; transHorizontalOverflow(str: any): any; transVerticalOverflow(str: any): any; transFontStyle(str: any): any; colorRgb(colorStr: any): any; printLog(text: any): void; transDirection(direction: any): any; transAlignment(alignment: any): any; render(props: any): h.JSX.Element; }