/** * @description Aligns columns in a 2d array of strings. Omits ANSI color code sequences from alignment calculations * @param arrays - The 2d array of strings to align * @returns The aligned array of strings * @example * const data = [ * ['Name', 'Age', 'Occupation'], * ['Alice', '30', 'Software Engineer'], * ['Bob', '22', 'Designer'], * ['Carol', '45', 'Doctor'], * ] * * alignColumns(data) * * // returns * * [ * 'Name Age Occupation ', * 'Alice 30 Software Engineer', * 'Bob 22 Designer ', * 'Carol 45 Doctor ', * ] */ export declare function alignColumns(arrays: string[][]): string[];