import type { LinearGradient, RadialGradient } from 'modern-idoc'; import type { Texture2DProperties } from './Texture2D'; import { Texture2D } from './Texture2D'; export declare class GradientTexture extends Texture2D { static test(value: string): boolean; protected static _fitTextureSize(width: number, height: number): { width: number; height: number; }; static linearGradient(linearGradient: LinearGradient, width: number, height: number): Texture2DProperties; constructor(gradient: LinearGradient | RadialGradient, width: number, height: number); }