type FixedLengthArray]> = PassedObject & { readonly length: L; [I: number]: T; }; export type AffineMatrix = FixedLengthArray, 4>; export type AffineMatrixFlat = FixedLengthArray; interface TransformMatrixDecomposition { translationMatrix: AffineMatrix; scaleMatrix: AffineMatrix; rotationMatrix: AffineMatrix; skewMatrix: AffineMatrix; perspective?: FixedLengthArray; } interface TransformMatrixDecompositionWithAngles extends TransformMatrixDecomposition { rx: number; ry: number; rz: number; } interface MatrixInterpolation { start: AffineMatrixFlat; stop: AffineMatrixFlat; decomposed?: [ TransformMatrixDecompositionWithAngles, TransformMatrixDecompositionWithAngles ]; } export declare function isAffineMatrixFlat(x: unknown): x is AffineMatrixFlat; export declare function isAffineMatrix(x: unknown): x is AffineMatrix; export declare function flatten(matrix: AffineMatrix): AffineMatrixFlat; export declare function unflatten(m: AffineMatrixFlat): AffineMatrix; export declare function multiplyMatrices(a: AffineMatrix, b: AffineMatrix): AffineMatrix; export declare function subtractMatrices(maybeFlatA: T, maybeFlatB: T): T; export declare function addMatrices(maybeFlatA: T, maybeFlatB: T): T; export declare function decomposeMatrix(unknownTypeMatrix: AffineMatrixFlat | AffineMatrix): TransformMatrixDecomposition; export declare function decomposeMatrixIntoMatricesAndAngles(matrix: AffineMatrixFlat | AffineMatrix): TransformMatrixDecompositionWithAngles; export declare function prepareMatrixInterpolation(from: AffineMatrixFlat | AffineMatrix, to: AffineMatrixFlat | AffineMatrix): MatrixInterpolation; export declare function interpolateDecomposedMatrix(progress: number, start: TransformMatrixDecompositionWithAngles, stop: TransformMatrixDecompositionWithAngles): AffineMatrixFlat; export declare function interpolateMatrix(progress: number, interpolation: MatrixInterpolation): AffineMatrixFlat; export {}; //# sourceMappingURL=matrixUtils.d.ts.map