import { IKeyObjectValue } from "../../../type";
import { BuiltInVariables } from "../buildInVariables";
import BuildInTimeframe from "./timeframe";
import BuildInMath from "./math";
interface ITaArgs {
    series?: number;
    length?: number;
    offset?: number;
    sigma?: number;
    floor?: boolean;
    source?: number;
    condition?: boolean;
    biased?: boolean;
    mult?: number;
    source1?: number;
    source2?: number;
    source_a?: number;
    source_b?: number;
    x?: number;
    y?: number;
    diLength?: number;
    adxSmoothing?: number;
    useTrueRange?: boolean;
    fastlen?: number;
    slowlen?: number;
    siglen?: number;
    percentage?: number;
    type?: string;
    anchor?: boolean;
    developing?: boolean;
    leftbars?: number;
    rightbars?: number;
    start?: number;
    inc?: number;
    max?: number;
    high?: number;
    low?: number;
    factor?: number;
    atrPeriod?: number;
    handle_na?: boolean;
    short_length?: number;
    long_length?: number;
    occurrence?: number;
    stdev_mult?: number;
    isSeriesLen?: boolean;
}
export default class BuildInTa extends BuildInMath {
    private _taCacheDataLoc;
    protected _variables: BuiltInVariables;
    private _timeframe;
    constructor(variables: BuiltInVariables);
    get timeframe(): BuildInTimeframe;
    get _taCacheData(): IKeyObjectValue;
    set _taCacheData(data: IKeyObjectValue);
    alma({ series, length, offset, sigma, floor, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    sma({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    rma({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    atr({ length, isSeriesLen }: ITaArgs, posStr: string): any;
    barssince({ condition }: ITaArgs, posStr: string): any;
    stdev({ source, length, biased, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    private _sum;
    bb({ series, length, mult, isSeriesLen }: ITaArgs, posStr: string): number[];
    bbw({ series, length, mult, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    cci({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    change({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    cmo({ series, length }: ITaArgs, posStr: string): number | undefined;
    cog({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    correlation({ source_a: source1, source_b: source2, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    cross({ x: source1, y: source2 }: ITaArgs, posStr: string): any;
    crossover({ x: source1, y: source2 }: ITaArgs, posStr: string): any;
    crossunder({ x: source1, y: source2 }: ITaArgs, posStr: string): any;
    cum({ x: source }: ITaArgs, posStr: string): any;
    dev({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    dmi({ diLength, adxSmoothing }: ITaArgs, posStr: string): any;
    ema({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    falling({ source, length }: ITaArgs, posStr: string): any;
    rising({ source, length }: ITaArgs, posStr: string): any;
    highest(args: ITaArgs, posStr: string): number | undefined;
    highestbars(args: ITaArgs, posStr: string): number | undefined;
    wma({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    hma({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    kc({ series, length, mult, useTrueRange, isSeriesLen }: ITaArgs, posStr: string): any[];
    kcw({ series, length, mult, useTrueRange, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    linreg({ source, length, offset, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    lowest(args: ITaArgs, posStr: string): number | undefined;
    lowestbars(args: ITaArgs, posStr: string): number | undefined;
    macd({ source, fastlen, slowlen, siglen }: ITaArgs, posStr: string): any[];
    median({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    mfi({ series, length }: ITaArgs, posStr: string): number | undefined;
    mode({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    mom({ source, length, isSeriesLen }: ITaArgs, posStr: string): any;
    percentile_linear_interpolation({ source, length, percentage, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    percentile_nearest_rank({ source, length, percentage, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    percentrank({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    pivothigh(args: ITaArgs, posStr: string): any;
    pivotlow(args: ITaArgs, posStr: string): any;
    range({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    roc({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    rsi({ x: source, y: length, isSeriesLen }: ITaArgs, posStr: string): any;
    sar({ start, inc, max }: ITaArgs, posStr: string): any;
    stoch({ source, high, low, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    supertrend({ factor, atrPeriod }: ITaArgs, posStr: string): any;
    swma({ x: source }: ITaArgs, posStr: string): any;
    tr({ handle_na }: ITaArgs, posStr: string): any;
    tsi({ source, short_length, long_length }: ITaArgs, posStr: string): number | undefined;
    private _doubleSmooth;
    valuewhen({ condition, source, occurrence }: ITaArgs, posStr: string): any;
    variance({ source, length, biased, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    vwap({ x: source, anchor }: ITaArgs, posStr: string): any;
    vwma({ source, length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    wpr({ length, isSeriesLen }: ITaArgs, posStr: string): number | undefined;
    private _sort;
    private _cacheDataList;
    private _getCacheData;
    private _cacheDataHandle;
    private _verifyCacheData;
}
export {};
