import { TagRecord, NoTags, Parser } from 'mini-parse'; import { TestParseResult } from 'mini-parse/test-util'; import { AbstractElem } from '../AbstractElems.js'; import { RegisterGenerator, Template } from '../ModuleRegistry.js'; export declare function testAppParse(parser: Parser, src: string): TestParseResult; /** Convenience wrapper to link wgsl for tests. * The first file is named "root.wgsl", subsequent files are named "file1.wgsl", "file2.wgsl", etc. */ export declare function linkTest(...rawWgsl: string[]): string; export interface LinkTestOpts { templates?: Template[]; generators?: RegisterGenerator[]; runtimeParams?: Record; } /** Convenience wrapper to link wgsl for tests, with load and link options. */ export declare function linkTestOpts(opts: LinkTestOpts, ...rawWgsl: string[]): string;