/** * Mnemonist SuffixArray Typings * ============================== */ export default class SuffixArray { // Members array: Array; length: number; string: string | Array; // Constructor constructor(string: string | Array); // Methods toString(): string; toJSON(): Array; inspect(): any; } export class GeneralizedSuffixArray { // Members array: Array; length: number; size: number; text: string | Array; // Constructor constructor(strings: Array | Array>); // Methods longestCommonSubsequence(): string | Array; toString(): string; toJSON(): Array; inspect(): any; }