/** * Convert row label to index. * * @param {String} label Row label (eq. '1', '5') * @returns {Number} Returns -1 if label is not recognized otherwise proper row index. */ export function rowLabelToIndex(label: string): number; /** * Convert row index to label. * * @param {Number} row Row index. * @returns {String} Returns row label (eq. '1', '7'). */ export function rowIndexToLabel(row: number): string; /** * Convert column label to index. * * @param {String} label Column label (eq. 'ABB', 'CNQ') * @returns {Number} Returns -1 if label is not recognized otherwise proper column index. */ export function columnLabelToIndex(label: string): number; /** * Convert column index to label. * * @param {Number} column Column index. * @returns {String} Returns column label (eq. 'ABB', 'CNQ'). */ export function columnIndexToLabel(column: number): string; /** * Extract cell coordinates. * * @param {String} label Cell coordinates (eq. 'A1', '$B6', '$N$98'). * @returns {Array} Returns an array of objects. */ export function extractLabel(label: string): any[]; /** * Convert row and column indexes into cell label. * * @param {Object} row Object with `index` and `isAbsolute` properties. * @param {Object} column Object with `index` and `isAbsolute` properties. * @returns {String} Returns cell label. */ export function toLabel(row: Object, column: Object): string;