import { type VoxelBox } from '@playdrop/boxel-core';
export interface BuildVoxelMeshOptions {
    voxels: number[];
    dimensions: [number, number, number];
    size: [number, number, number];
}
export interface VoxelMaterialGroup {
    material: number;
    start: number;
    count: number;
}
export interface VoxelMeshResult {
    positions: Float32Array;
    normals: Float32Array;
    uvs: Float32Array;
    indices: Uint32Array;
    groups: VoxelMaterialGroup[];
    stats: {
        voxels: number;
        faces: number;
    };
}
export declare function buildVoxelMesh(options: BuildVoxelMeshOptions): VoxelMeshResult;
export declare function hasVoxelData(primitive: VoxelBox): boolean;
