import { type ShaderGraphSnapshot } from "@vgpu/wgsl/runtime"; export declare function sha256(text: string | Uint8Array): string; export type MetalSourceInput = { readonly modules: Readonly>; readonly snapshot?: never; } | { readonly snapshot: ShaderGraphSnapshot; readonly modules?: never; }; export declare function copyMetalSourceInput(input: MetalSourceInput): MetalSourceInput; export declare function resolveMetalSource(entry: string, input: MetalSourceInput): Promise<{ authoredStructs: { name: string; mangledName: string; }[]; source: { virtualPath: string; text: string; sha256: string; }; originMap: { schemaVersion: number; contractId: string; generatedSource: { virtualPath: string; sha256: string; }; sources: { input: string; sha256: string; }[]; segments: never[]; }; originMapSha256: string; languageFeatures: never[]; }>; export declare function canonicalJSON(value: unknown): string; //# sourceMappingURL=source.d.ts.map