UNPKG

hyperformula-dc

Version:

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

22 lines (21 loc) 793 B
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ import { DenseStrategy } from './DenseStrategy'; import { AddressMappingStrategyConstructor } from './IAddressMappingStrategy'; import { SparseStrategy } from './SparseStrategy'; export interface ChooseAddressMapping { call(fill: number): AddressMappingStrategyConstructor; } export declare class DenseSparseChooseBasedOnThreshold implements ChooseAddressMapping { private readonly threshold; constructor(threshold: number); call(fill: number): typeof SparseStrategy | typeof DenseStrategy; } export declare class AlwaysSparse implements ChooseAddressMapping { call(): typeof SparseStrategy; } export declare class AlwaysDense implements ChooseAddressMapping { call(): typeof DenseStrategy; }