UNPKG

hyperformula-dc

Version:

HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas

24 lines (23 loc) 836 B
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ import { ProcedureAst } from '../../parser'; import { InterpreterState } from '../InterpreterState'; import { InterpreterValue } from '../InterpreterValue'; import { ArgumentTypes, FunctionPlugin, FunctionPluginTypecheck } from './FunctionPlugin'; export declare class DeltaPlugin extends FunctionPlugin implements FunctionPluginTypecheck<DeltaPlugin> { static implementedFunctions: { DELTA: { method: string; parameters: ({ argumentType: ArgumentTypes; defaultValue?: undefined; } | { argumentType: ArgumentTypes; defaultValue: number; })[]; }; }; delta(ast: ProcedureAst, state: InterpreterState): InterpreterValue; }