import type { WorkbookSnapshot } from '@bilig/protocol';
export declare function formulaMayContainFullRecalcPreservableUnavailableFormulaCall(source: string): boolean;
export declare function collectDefinedFormulaNames(snapshot: WorkbookSnapshot): ReadonlySet<string>;
export declare function collectPreservedUnsupportedFormulaCacheKeys(snapshot: WorkbookSnapshot): ReadonlySet<string>;
export declare function formulaHasPreservedUnsupportedDependencyCache(preservedCacheKeys: ReadonlySet<string>, sheetName: string, address: string, formula: string): boolean;
export declare function formulaShouldUseCachedUnsupportedFunctionValue(source: string, definedNames: ReadonlySet<string>): boolean;
export declare function formulaShouldPreserveCachedUnsupportedFunctionValueOnFullRecalc(source: string, definedNames: ReadonlySet<string>): boolean;
