import { Context } from '../context'; import { Sheet } from '../types'; export { filterPatch, patchToOp, opToPatch, inverseRowColOptions, extractFormulaCellOps, } from './patch'; export type { PatchOptions, ChangedSheet } from './patch'; export { getFreezeState, toggleFreeze } from './freeze'; export type { FreezeType } from './freeze'; export declare function generateRandomSheetName(file: Sheet[], isPivotTable: boolean, ctx: Context): any; export declare function rgbToHex(color: string): string; export declare function indexToColumnChar(n: number): string; export declare function columnCharToIndex(a: string): number; export declare function escapeScriptTag(str: string): string; export declare function escapeHTMLTag(str: string): string; export declare function getSheetIndex(ctx: Context, id: string): number | null; export declare function getSheetIdByName(ctx: Context, name: string): string | null | undefined; export declare function getSheetByIndex(ctx: Context, id: string): Sheet | null; export declare function getNowDateTime(format: number): string; export declare function replaceHtml(temp: string, dataarry: any): string; export declare function getRegExpStr(str: string): string; export declare function chatatABC(n: number): string; export declare function isAllowEdit(ctx: Context, range?: Sheet['luckysheet_select_save']): boolean; export declare function isAllowEditReadOnly(ctx: Context, range?: Sheet['luckysheet_select_save']): boolean; export declare function isLetterNumberPattern(str: string): boolean; export declare function removeLastSpan(htmlString: string): string; export declare function getContentInParentheses(str: string | null): string | null; export declare function processArray(cellReferences: any, d: any, flowData: any): undefined; export declare function getNumberFormat(strValue: any, commaPresent: boolean): string; export declare function checkIsCol(str: string): boolean | null; export declare function getLineCount(sentence: string, maxWidthPx: number, font?: string): number;