import { Tree } from '@lezer/common'; import { ASTParser, VirtualTable, SymbolTableT, ParsedBundle, ParsedModule, ParsedModuleCache, CompressedNode } from '../types.d.mts'; export declare const makeLoadModule: (parseShader: (code: string) => Tree, makeASTParser: (code: string, tree: Tree, name?: string) => ASTParser, compressAST: (code: string, tree: Tree, symbols?: T["symbols"], modules?: T["modules"]) => CompressedNode[], decompressAST: (nodes: CompressedNode[], symbols?: T["symbols"]) => Tree) => (code: string, name?: string, entry?: string, compressed?: boolean) => ParsedModule; export declare const makeLoadModuleWithCache: (loadModule: (code: string, name?: string, entry?: string, compressed?: boolean) => ParsedModule, defaultCache: ParsedModuleCache) => (code: string, name?: string, entry?: string, cache?: ParsedModuleCache | null) => ParsedModule; export declare const loadStaticModule: (code: string, name: string, entry?: string) => { name: string; code: string; hash: number; table: any; label: string; }; export declare const loadVirtualModule: (virtual: VirtualTable, initTable?: Partial, entry?: string, hash?: number, code?: string, key?: number) => { name: string; code: string; hash: number; table: { symbols: any[]; visibles: any[]; } & Partial; entry: string | undefined; virtual: VirtualTable; key: number; label: string; }; export declare const bindEntryPoint: (bundle: T, entry?: string | null) => T;