import { Position, TripleTable } from "./types"; export declare function initializeTable(rows: number, columns: number, value: T): T[][]; export declare function indicesOf(arr: Array, searchValue: T): Array; export declare function lastColumnOf(arr: T[][]): T[]; export declare function lastRowOf(arr: T[][]): T[]; export declare function indicesInTable(arr: T[][], search: T): Position[]; /** * * @param lengthSeq1 Length of the first sequence * @param lengthSeq2 Length of the second sequence * @returns a table of triples where the first column is pointing up (i.e. [0, 0, 1]) and the first * row is pointing left (i.e. [1, 0, 0]). */ export declare function initializePointerTable(lengthSeq1: number, lengthSeq2: number): TripleTable; export declare function fillByIndex(length: number, callback: (i: number) => number): number[];