import { GLSLVersion } from "@thi.ng/shader-ast-glsl/api"; import type { GLSLDeclPrefixes, GLSLSyntax } from "./api/shader.js"; export declare const PREFIXES: GLSLDeclPrefixes; export declare const NO_PREFIXES: GLSLDeclPrefixes; /** * GLSL data declaration code generators. */ export declare const SYNTAX: Record; /** * GLSL preprocessor macro for conditional execution based on `__VERSION__`. * * @param ver - * @param ok - * @param fail - */ export declare const VERSION_CHECK: (ver: number, ok: string, fail?: string) => string; export declare const ALIAS_TEXTURE: string; /** * GLSL version specific fragment shader output. If `__VERSION__ >= 300` * assigns `body` to `out`, else to `gl_FragColor`. * * @param body - * @param out - */ export declare const EXPORT_FRAGCOL: (body?: string, out?: string) => string; /** * Default GLSL prelude. */ export declare const GLSL_HEADER: string; //# sourceMappingURL=syntax.d.ts.map