import { Cell, WorkbookInstance } from '../../sheet-engine/react'; import { SmartContractQueryHandler } from './after-update-cell'; /** * Dynamically executes a function from a string representation * * @param functionCallString - String representation of the function call * @returns {Promise} - Result of the function execution */ export declare const executeStringFunction: ({ functionCallString, sheetEditorRef, dataBlockRow, dataBlockColumn, handleSmartContractQuery, newValue, }: { functionCallString: string; sheetEditorRef?: React.RefObject; dataBlockRow?: number; dataBlockColumn?: number; handleSmartContractQuery?: SmartContractQueryHandler; newValue?: Cell; }) => Promise; /** * Parses a complex argument string into an array of properly typed arguments * * @param argsString - String containing function arguments * @returns {any[]} - Array of parsed arguments with appropriate types */ export declare function parseArguments(argsString: string): (string | number | boolean | object | [] | null | undefined)[]; /** * Checks if a string is a valid cell reference (e.g., A1, B2, AA10, etc.) * @param {string} str - The string to check * @returns {boolean} - True if it's a valid cell reference, false otherwise */ export declare function isCellReference(str: string): boolean; /** * Checks if a string is a valid cell range reference (e.g., A1:B2, A1:A10, etc.) * @param {string} str - The string to check * @returns {boolean} - True if it's a valid cell range reference, false otherwise */ export declare function isCellRangeReference(str: string): boolean; /** * Converts a cell reference (e.g., A1, B2, AA10) to row and column numbers * @param {string} cellRef - The cell reference string (e.g., "A1", "B2") * @returns {Object|null} - Object with row and column properties, or null if invalid */ export declare function cellReferenceToRowCol(cellRef: string): { row: number; column: number; } | null; /** * Converts a cell range reference (e.g., A1:B2) to an array of all cells in the range * @param {string} rangeRef - The range reference string (e.g., "A1:B2", "A4:B4") * @returns {Array|null} - Array of objects with row and column properties, or null if invalid */ export declare function cellRangeToRowCol(rangeRef: string): { row: number; column: number; }[] | null;