import type { Vec3 } from '../math'; export type ScalarGridArray = Float32Array | Float64Array; export type ScalarGridOrder = `x_fastest` | `z_fastest`; export interface ScalarGrid3D { values: ArrayType; dims: Vec3; order: ScalarGridOrder; } export declare function grid_dimensions(grid: ScalarGrid3D): Vec3; export declare function scalar_grid_strides({ dims: [nx, ny, nz], order }: ScalarGrid3D): Vec3; export declare function flatten_grid(grid: number[][][]): ScalarGrid3D; export declare function transpose_x_fastest(data: ArrayLike, [nx, ny, nz]: Vec3, divisor: number): Float64Array;