import { type MeshAsset, type MeshDistanceField, type Result } from '@forgeax/engine-types'; import { type DistanceFieldError } from './distance-field'; /** Existing asset codec profile binds this builder policy without a second identity field. */ export declare const MESH_VISIBILITY_DISTANCE_FIELD_CODEC: { readonly name: "mesh-distance-field"; readonly version: "4"; readonly profile: "sampled-visibility/5"; }; /** Geometry-independent source policy, carried once by the ordinary Mesh publication. */ export interface MeshDistanceFieldDescriptor { readonly sectionSidedness: readonly (0 | 1)[]; } /** Canonical triangle coverage shared by the producer and the ordinary asset loader. */ export declare function meshDistanceFieldSource(mesh: MeshAsset, descriptor: unknown): Result<{ positions: Float32Array; indices: Uint16Array | Uint32Array; triangleSidedness: Uint8Array; descriptor: MeshDistanceFieldDescriptor; }, DistanceFieldError>; export declare function validateMeshDistanceFieldAttachment(mesh: MeshAsset, descriptor: unknown, field: MeshDistanceField): Promise>; /** No builder or artifact work occurs when both optional publication members are omitted. */ export declare function attachMeshDistanceField(mesh: MeshAsset, descriptor: unknown, bytes?: Uint8Array): Promise>; //# sourceMappingURL=mesh-distance-field-product.d.ts.map