/** Validate once at the numeric API boundary. */ export declare function matrixShape(a: number[][]): [number, number]; /** Row-major packing without an intermediate Array.flat allocation. */ export declare function packRows(a: number[][]): Float64Array; export declare function unpackRows(data: Float64Array, rows: number, cols: number): number[][]; //# sourceMappingURL=matrix.d.ts.map