import { ShaderMacro, ShaderLanguage } from "@galacean/engine"; import { IShaderLab, IShaderSource } from "@galacean/engine-design"; import { IShaderProgramSource } from "@galacean/engine-design/types/shader-lab/IShaderProgramSource"; import { ShaderPosition, ShaderRange } from "./common"; export declare class ShaderLab implements IShaderLab { private static _parser; private static _shaderPositionPool; private static _shaderRangePool; static _processingPassText?: string; static createPosition(index: number, line?: number, column?: number): ShaderPosition; static createRange(start: ShaderPosition, end: ShaderPosition): ShaderRange; _parseShaderSource(sourceCode: string): IShaderSource; _parseShaderPass(source: string, vertexEntry: string, fragmentEntry: string, backend: ShaderLanguage, basePathForIncludeKey: string): IShaderProgramSource | undefined; _parseMacros(content: string, macros: ShaderMacro[]): string; }