export * from './types.d.mts'; export { loadModule, loadModuleWithCache, loadStaticModule, transpileWGSL, bindEntryPoint, defineConstants, makeModuleCache, bundleToAttribute, bundleToAttributes, bundleToBindings, attributeToFields, wgsl, f32, i32, u32, symbolDictionary, } from './shader.d.mts'; export { bindBundle, bindModule, bindingsToModules, bindingToModule, sourceToModule, resolveBindings, } from './bind.d.mts'; export { castTo, swizzleTo, } from './operators/cast.d.mts'; export { chainTo, } from './operators/chain.d.mts'; export { diffBy, } from './operators/diff.d.mts'; export { explode, } from './operators/explode.d.mts'; export { instanceWith, } from './operators/instanced.d.mts'; export { structType, } from './operators/struct.d.mts'; export { linkBundle, linkModule, linkCode, } from './link.d.mts'; export { makeASTParser, compressAST, decompressAST, rewriteUsingAST, } from './ast.d.mts'; export { getBundleEntry, getBundleHash, getBundleKey, getBundleLabel, getBundleName, } from '../util/bundle.d.mts'; export { decompressString, } from '../util/tree.d.mts'; export declare const WGSLLinker: { loadModule: (code: string, name?: string, entry?: string, compressed?: boolean) => import("...d.mts").ParsedModule; loadModuleWithCache: (code: string, name?: string, entry?: string, cache?: import("...d.mts").ParsedModuleCache | null) => import("...d.mts").ParsedModule; loadStaticModule: (code: string, name: string, entry?: string) => { name: string; code: string; hash: number; table: any; label: string; }; transpileWGSL: (source: string, resourcePath: string, options?: import("...d.mts").TranspileOptions) => import("...d.mts").TranspileOutput; bindEntryPoint: (bundle: T, entry?: string | null) => T; bundleToAttribute: (shader: import("...d.mts").ShaderModule, name?: string) => import("./types.d.mts").UniformAttribute; bundleToAttributes: (shader: import("...d.mts").ShaderModule) => import("./types.d.mts").UniformAttribute[]; bundleToBindings: (shader: import("...d.mts").ShaderModule) => import("./types.d.mts").UniformAttribute[]; attributeToFields: (attribute: import("./types.d.mts").UniformAttribute) => import("./types.d.mts").UniformAttribute; wgsl: (literals: TemplateStringsArray, ...tokens: string[]) => import("...d.mts").ParsedModule; f32: (x: number) => string; i32: (x: number) => string; u32: (x: number) => string; defineConstants: (defs: Record) => string; linkBundle: (source: import("...d.mts").ShaderModule, links?: Record, defines?: Record | null) => string; linkModule: (source: import("...d.mts").ParsedModule, libraries?: Record, links?: Record, defines?: Record | null) => string; linkCode: (code: string, libraries?: Record, links?: Record | null, defines?: Record | null, cache?: import("...d.mts").ParsedModuleCache | null) => string; bindBundle: (subject: import("...d.mts").ShaderModule, links?: Record | null, defines?: Record | null) => import("...d.mts").ParsedBundle; bindModule: (subject: import("...d.mts").ShaderModule, links?: Record | null, defines?: Record | null) => import("...d.mts").ParsedBundle; bindingsToModules: (bindings: import("./types.d.mts").DataBinding[]) => Record; bindingToModule: (binding: import("./types.d.mts").DataBinding) => import("./types.d.mts").ShaderModule; sourceToModule: (source: import("./types.d.mts").ShaderModule | import("./types.d.mts").LambdaSource | import("./types.d.mts").StorageSource | import("./types.d.mts").TextureSource | any) => import("./types.d.mts").ShaderModule | null; resolveBindings: any; castTo: (source: import("...d.mts").ShaderModule, type: string, swizzle?: string | import("../util/operators/cast.d.mts").CastTo | null) => import("...d.mts").ParsedBundle; chainTo: (from: import("...d.mts").ShaderModule, to: import("...d.mts").ShaderModule) => import("...d.mts").ParsedBundle; diffBy: (source: import("...d.mts").ShaderModule, offset: null | number | string | (null | number | string)[], size: null | import("...d.mts").ShaderModule | (null | import("...d.mts").ShaderModule)[]) => import("...d.mts").ParsedBundle; explode: (struct: import("...d.mts").ShaderModule, source: import("...d.mts").ShaderModule) => import("...d.mts").ParsedBundle; instanceWith: (values: import("...d.mts").ShaderModule[], indices?: import("...d.mts").ShaderModule | null) => import("...d.mts").ParsedBundle; swizzleTo: (from: string, to: string, swizzle: string | import("../util/operators/cast.d.mts").CastTo) => import("...d.mts").ParsedBundle; structType: (fields: import("./types.d.mts").UniformAttribute[], name?: string) => import("...d.mts").ParsedBundle; makeASTParser: (code: string, tree: import("@lezer/common").Tree, name?: string) => { getImports: () => import("./types.d.mts").ModuleRef[]; getDeclarations: () => import("./types.d.mts").DeclarationRef[]; getSymbolTable: () => import("./types.d.mts").SymbolTable; getShakeTable: (table?: import("./types.d.mts").SymbolTable) => import("./types.d.mts").ShakeTable | undefined; }; compressAST: (code: string, tree: import("@lezer/common").Tree, symbols?: string[], modules?: import("./types.d.mts").ModuleRef[]) => import("./types.d.mts").CompressedNode[]; decompressAST: (nodes: import("./types.d.mts").CompressedNode[], symbols?: string[]) => import("@lezer/common").Tree; rewriteUsingAST: (code: string, tree: import("@lezer/common").Tree, rename: Map, shake?: number[] | null, optionals?: Set | null) => string; makeModuleCache: (options?: Record) => import("lru-cache"); getBundleEntry: (bundle: import("...d.mts").ShaderModule) => string | undefined; getBundleHash: (bundle: import("...d.mts").ShaderModule) => number; getBundleKey: (bundle: import("...d.mts").ShaderModule) => number; getBundleLabel: (bundle: import("...d.mts").ShaderModule) => string; getBundleName: (bundle: import("...d.mts").ShaderModule) => string | undefined; decompressString: (symbols: string[]) => { (s: (string | number)[]): string[]; (s: string | number): string; }; symbolDictionary: { A: "at"; B: "bindings"; C: "vec4"; D: "vec3"; 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 './highlight/wgsl.d.mts'; export * from './types.d.mts'; export default WGSLLinker;