export type Matrix = T[][]; export type NumberMatrix = Matrix; export type StringMatrix = Matrix; /** Returns a cloned copy of the provided matrix */ export declare function cloneMatrix(matrix: T[][]): T[][]; /** * Returns true if the contents of the two 2d matrices are equal when the * cells are compared with === */ export declare function matricesAreEqual(m1: T[][], m2: T[][]): boolean; export declare function makeMatrix(width: number, height: number, initialValue: T): Matrix; export declare function makeObjectMatrix(width: number, height: number): Array>; export declare function makeEmptyMatrix(width: number, height: number): Array>;