/** * TypeScript transform that controls whether WebGPU-only code is emitted. */ import type { Program, SourceFile, TransformationContext, Transformer } from 'typescript'; import type { PluginConfig, TransformerExtras } from 'ts-patch'; type WebGPUPluginConfig = PluginConfig & { /** Whether the emitted JavaScript includes WebGPU code paths. */ webGPUEnabled?: boolean; }; export default function transformWebGPU(program: Program, pluginConfig: WebGPUPluginConfig, { ts }: TransformerExtras): (context: TransformationContext) => Transformer; export {}; //# sourceMappingURL=index.d.ts.map