import { Token } from "../formulas/tokenizer";
export declare const cellReference: RegExp;
export declare const rangeReference: RegExp;
export declare function isColReference(xc: string): boolean;
export declare function isRowReference(xc: string): boolean;
export declare function isColHeader(str: string): boolean;
export declare function isRowHeader(str: string): boolean;
export declare function isSingleCellReference(xc: string): boolean;
export declare function splitReference(ref: string): {
    sheetName?: string;
    xc: string;
};
export declare function getFullReference(sheetName: string | undefined, xc: string): string;
type FixedReferenceType = "col" | "row" | "colrow" | "none";
/**
 * Change the reference types inside the given token, if the token represent a range or a cell
 *
 * Eg. :
 *   A1 => $A$1 => A$1 => $A1 => A1
 *   A1:$B$1 => $A$1:B$1 => A$1:$B1 => $A1:B1 => A1:$B$1
 */
export declare function loopThroughReferenceType(token: Readonly<Token>): Token;
/**
 * Returns the given XC with the given reference type.
 */
export declare function setXcToFixedReferenceType(xc: string, referenceType: FixedReferenceType): string;
export {};
