export * from './types.d.cts'; export { loadModule, loadModuleWithCache, loadStaticModule, transpileGLSL, bindEntryPoint, defineConstants, makeModuleCache, bundleToAttribute, bundleToAttributes, bundleToBindings, attributeToFields, glsl, float, int, uint, symbolDictionary, } from './shader.d.cts'; export { bindBundle, bindModule, bindingsToModules, bindingToModule, sourceToModule, resolveBindings, } from './bind.d.cts'; export { castTo, swizzleTo, } from './operators/cast.d.cts'; export { chainTo, } from './operators/chain.d.cts'; export { diffBy, } from './operators/diff.d.cts'; export { explode, } from './operators/explode.d.cts'; export { structType, } from './operators/struct.d.cts'; export { linkBundle, linkModule, linkCode, getPreamble, setPreamble, } from './link.d.cts'; export { makeASTParser, compressAST, decompressAST, rewriteUsingAST, } from './ast.d.cts'; export { getBundleEntry, getBundleHash, getBundleKey, getBundleLabel, getBundleName, } from '../util/bundle.d.cts'; export { decompressString, } from '../util/tree.d.cts'; export declare const GLSLLinker: { loadModule: (code: string, name?: string, entry?: string, compressed?: boolean) => import("...d.cts").ParsedModule; loadModuleWithCache: (code: string, name?: string, entry?: string, cache?: import("...d.cts").ParsedModuleCache | null) => import("...d.cts").ParsedModule; loadStaticModule: (code: string, name: string, entry?: string) => { name: string; code: string; hash: number; table: any; label: string; }; transpileGLSL: (source: string, resourcePath: string, options?: import("...d.cts").TranspileOptions) => import("...d.cts").TranspileOutput; bindEntryPoint: (bundle: T, entry?: string | null) => T; bundleToAttribute: (shader: import("...d.cts").ShaderModule, name?: string) => import("...d.cts").UniformAttribute; bundleToAttributes: (shader: import("...d.cts").ShaderModule) => import("...d.cts").UniformAttribute[]; bundleToBindings: (shader: import("...d.cts").ShaderModule) => import("...d.cts").UniformAttribute[]; attributeToFields: (attribute: import("...d.cts").UniformAttribute) => import("...d.cts").UniformAttribute; glsl: (literals: TemplateStringsArray, ...tokens: string[]) => import("...d.cts").ParsedModule; float: (x: number) => string | 0; int: (x: number) => string; uint: (x: number) => string; defineConstants: (defs: Record) => string; linkBundle: (source: import("...d.cts").ShaderModule, links?: Record, defines?: Record | null) => string; linkModule: (source: import("...d.cts").ParsedModule, libraries?: Record, links?: Record, defines?: Record | null) => string; linkCode: (code: string, libraries?: Record, links?: Record | null, defines?: Record | null, cache?: import("...d.cts").ParsedModuleCache | null) => string; getPreamble: () => string; setPreamble: (s: string) => string; bindBundle: (subject: import("...d.cts").ShaderModule, links?: Record | null, defines?: Record | null) => import("...d.cts").ParsedBundle; bindModule: (subject: import("...d.cts").ShaderModule, links?: Record | null, defines?: Record | null) => import("...d.cts").ParsedBundle; bindingsToModules: (bindings: import("./types.d.cts").DataBinding[]) => Record; bindingToModule: (binding: import("./types.d.cts").DataBinding) => import("./types.d.cts").ShaderModule; sourceToModule: (source: import("./types.d.cts").ShaderModule | import("./types.d.cts").LambdaSource | import("./types.d.cts").StorageSource | import("./types.d.cts").TextureSource | any) => import("./types.d.cts").ShaderModule | null; resolveBindings: any; castTo: (source: import("...d.cts").ShaderModule, type: string, swizzle?: string | import("../util/operators/cast.d.cts").CastTo | null) => import("...d.cts").ParsedBundle; chainTo: (from: import("...d.cts").ShaderModule, to: import("...d.cts").ShaderModule) => import("...d.cts").ParsedBundle; diffBy: (source: import("...d.cts").ShaderModule, offset: null | number | string | (null | number | string)[], size: null | import("...d.cts").ShaderModule | (null | import("...d.cts").ShaderModule)[]) => import("...d.cts").ParsedBundle; explode: (struct: import("...d.cts").ShaderModule, source: import("...d.cts").ShaderModule) => import("...d.cts").ParsedBundle; swizzleTo: (from: string, to: string, swizzle: string | import("../util/operators/cast.d.cts").CastTo) => import("...d.cts").ParsedBundle; structType: (fields: import("...d.cts").UniformAttribute[], name?: string) => import("...d.cts").ParsedBundle; makeASTParser: (code: string, tree: import("@lezer/common").Tree, name?: string) => { getImports: () => import("./types.d.cts").ModuleRef[]; getFunctions: () => import("./types.d.cts").FunctionRef[]; getDeclarations: () => import("./types.d.cts").DeclarationRef[]; getSymbolTable: () => import("./types.d.cts").SymbolTable; getShakeTable: (table?: import("./types.d.cts").SymbolTable) => import("./types.d.cts").ShakeTable | undefined; }; compressAST: (code: string, tree: import("@lezer/common").Tree, symbols?: string[], modules?: import("./types.d.cts").ModuleRef[]) => import("./types.d.cts").CompressedNode[]; decompressAST: (nodes: import("./types.d.cts").CompressedNode[], symbols?: string[]) => import("@lezer/common").Tree; rewriteUsingAST: (code: string, tree: import("@lezer/common").Tree, rename: Map, shake?: number[] | null) => string; makeModuleCache: (options?: Record) => import("lru-cache"); getBundleEntry: (bundle: import("...d.cts").ShaderModule) => string | undefined; getBundleHash: (bundle: import("...d.cts").ShaderModule) => number; getBundleKey: (bundle: import("...d.cts").ShaderModule) => number; getBundleLabel: (bundle: import("...d.cts").ShaderModule) => string; getBundleName: (bundle: import("...d.cts").ShaderModule) => string | undefined; decompressString: (symbols: string[]) => { (s: (string | number)[]): string[]; (s: string | number): string; }; symbolDictionary: { A: "at"; B: "bindings"; E: "exports"; F: "func"; G: "flags"; H: "inferred"; I: "identifiers"; J: "imported"; K: "imports"; L: "linkable"; M: "members"; N: "name"; O: "modules"; P: "parameters"; Q: "qual"; R: "symbol"; S: "symbols"; T: "type"; U: "struct"; V: "variable"; W: "visibles"; X: "externals"; Y: "types"; Z: "attr"; }; parser: import("@lezer/lr").LRParser; }; export { parser } from './grammar/glsl.js.d.cts'; export * from './types.d.cts'; export default GLSLLinker;