import type { CellAddress, Range } from './type'; import { WorkSheet } from './workBook'; /** * 将二维数组转换为 WorkSheet */ export declare function aoa2sheet(sheetName: string, aoa: any[][]): WorkSheet; /** * 将 A1-Style 列解码为下标列 */ export declare function decodeCol(col: string): number; /** * 将 A1-Style 行解码为下标行 */ export declare function decodeRow(row: string): number; /** * 将 A1-Style 单元格地址解码为行列下标对象 */ export declare function decodeCell(address: string): CellAddress; /** * 将 A1-Style 范围解码为下标单元格范围 */ export declare function decodeRange(range: string): Range; /** * 将下标列编码为 A1-Style 列 */ export declare function encodeCol(col: number): string; /** * 将下标行编码为 A1-Style 行 */ export declare function encodeRow(row: number): string; /** * 将下标单元格对象编码为 A1-Style 单元格地址 */ export declare function encodeCell(cell: CellAddress): string; /** * 将下标单元格范围编码为 A1-Style 范围 */ export declare function encodeRange(range: Range): string;