import { GalaceanDataType } from "../../common"; import { EShaderStage } from "../../common/enums/ShaderStage"; export declare enum EGenType { GenType = 200, GenIntType = 201, GenUintType = 202, GenBoolType = 203, Mat = 204, BoolVec = 205, IntVec = 206, UintVec = 207, Vec = 208, GVec4 = 209, GSampler2D = 210, GSampler3D = 211, GSamplerCube = 212, GSampler2DArray = 213 } export type NonGenericGalaceanType = Exclude; type BuiltinType = NonGenericGalaceanType | EGenType; export declare class BuiltinFunction { ident: string; readonly args: BuiltinType[]; readonly scope: EShaderStage; private _returnType; private _realReturnType; get realReturnType(): NonGenericGalaceanType; private constructor(); static getReturnType(fn: BuiltinFunction, genType?: NonGenericGalaceanType): NonGenericGalaceanType; static _create(ident: string, returnType: BuiltinType, ...args: BuiltinType[]): void; static _createWithScop(ident: string, returnType: BuiltinType, scope: EShaderStage, ...args: BuiltinType[]): void; static getFn(ident: string, parameterTypes: NonGenericGalaceanType[]): BuiltinFunction | undefined; static isExist(ident: string): boolean; } export {};