interface Token {
    type: 'startOperator' | 'function' | 'number' | 'string' | 'operator' | 'cell' | 'range' | 'paren' | 'separator' | 'plain';
    value: string;
    cellValue?: any[];
    color?: string;
}
export declare function tokenize(formula: string): Token[];
export declare const parseFormula: (formula: string) => any;
export declare const evaluateFormula: (formula: string, getCellValue: (cell: string) => number) => any;
/**
 * 校验公式正确错误
 * @param formula
 * @returns
 */
export declare const verifyFormula: (formula: string) => boolean;
export declare function parseFormulaWithMap(formula: string, tokenMap: Token[]): Token[];
export {};
