import type { Vector2Tuple } from "three"; import { DataTexture } from "three"; import type { UIColor } from "../../core"; import type { Vector2Like } from "../../core/miscellaneous/math"; import type { UITextureConfig } from "../../core/miscellaneous/texture/UITextureView.Internal"; export interface UIRange { min: number; max: number; } export type UIRangeConfig = UIRange | [number, number] | number; export type UIVector2Config = Vector2Like | Vector2Tuple | number; export type UIAspectConfig = number | UITextureConfig; export declare function resolveUIRangeConfig(config: UIRangeConfig): UIRange; export declare function resolveUIVector2Config(config: UIVector2Config): Vector2Like; export declare function resolveAspect(config: number | UITextureConfig): number; export declare const generateNoise2D: (x: number, y: number) => number; export declare function buildGradientTexture(colors: UIColor[]): DataTexture; export declare const BUILTIN_OFFSET_POSITION_X = 0; export declare const BUILTIN_OFFSET_POSITION_Y = 1; export declare const BUILTIN_OFFSET_VELOCITY_X = 2; export declare const BUILTIN_OFFSET_VELOCITY_Y = 3; export declare const BUILTIN_OFFSET_SCALE_X = 4; export declare const BUILTIN_OFFSET_SCALE_Y = 5; export declare const BUILTIN_OFFSET_ROTATION = 6; export declare const BUILTIN_OFFSET_TORQUE = 7; export declare const BUILTIN_OFFSET_LIFETIME = 8; export declare const BUILTIN_OFFSET_AGE = 9; export declare const BUILTIN_OFFSET_RANDOM_A = 10; export declare const BUILTIN_OFFSET_RANDOM_B = 11; export declare const BUILTIN_OFFSET_RANDOM_C = 12; export declare const BUILTIN_OFFSET_RANDOM_D = 13; export declare const BUILTIN_OFFSET_RANDOM_E = 14; export declare const BUILTIN_OFFSET_RANDOM_F = 15;