const rewriteUsingAST: ( code: string, tree: Tree, rename: Map<string, string>, shake?: number[], optionals?: Set<string>, ) => string
packages / shader / src / wgsl / ast.ts