/** * handy function to calculate between the 0 based index offset and the wpc 8x8 matrix based index. */ export declare class OffsetIndex { readonly zeroBasedIndex: number; readonly wpcMatrixIndex: number; static fromZeroBased(zeroBasedIndex: number): OffsetIndex; static fromWpcMatrix(wpcMatrixIndex: number): OffsetIndex; /** * convert zero based index to matrix input, 0 -> 11, 8 -> 21 */ static mapIndexToMatrixIndex(index: number): number; /** * convert matrix index to zero based input, 11 -> 0, 21 -> 8 */ static mapMatrixIndexToIndex(index: number): number; constructor(zeroBasedIndex: number, wpcMatrixIndex: number); }