import { VInsType } from "../enum";
import { TccErrorListener } from ".";
interface IArrayArgs {
    id?: IPseudoArray;
    id1?: IPseudoArray;
    id2?: IPseudoArray;
    size?: number;
    initial_value?: any;
    index_from?: number;
    index_to?: number;
    val?: number;
    biased?: boolean;
    value?: any;
    index?: number;
    separator?: string;
    nth?: number;
    percentage?: number;
    order?: boolean;
    type?: string;
}
export default class BuildInArray {
    private _errorListener;
    constructor(errorListener: TccErrorListener);
    new_float({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_int({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_color({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_bool({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_string({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_line({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_box({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_table({ size, initial_value }?: IArrayArgs): IPseudoArray;
    new_label({ size, initial_value }?: IArrayArgs): IPseudoArray;
    copy({ id }: IArrayArgs): IPseudoArray | undefined;
    slice({ id, index_from, index_to }: IArrayArgs): IPseudoArray | undefined;
    size({ id }: IArrayArgs): number | undefined;
    avg({ id }: IArrayArgs, posStr: string): number | undefined;
    clear({ id }: IArrayArgs): void;
    concat({ id1, id2 }: IArrayArgs): IPseudoArray | undefined;
    covariance({ id1, id2 }: IArrayArgs, posStr: string): number | undefined;
    from(_: any, arrVals: any[]): IPseudoArray;
    fill({ id, value, index_from, index_to }: IArrayArgs): void;
    get({ id, index }: IArrayArgs): any;
    includes({ id, value }: IArrayArgs): boolean | undefined;
    indexof({ id, value }: IArrayArgs): number | undefined;
    insert({ id, index, value }: IArrayArgs): void;
    join({ id, separator }: IArrayArgs, posStr: string): string | undefined;
    lastindexof({ id, value }: IArrayArgs): number | undefined;
    max(arg: IArrayArgs, posStr: string): number | undefined;
    median({ id }: IArrayArgs, posStr: string): number | undefined;
    min({ id }: IArrayArgs, posStr: string): number | undefined;
    mode({ id }: IArrayArgs, posStr: string): number | undefined;
    pop({ id }: IArrayArgs): any;
    push({ id, value }: IArrayArgs): void;
    range({ id }: IArrayArgs, posStr: string): number | undefined;
    remove({ id, index }: IArrayArgs): any;
    reverse({ id }: IArrayArgs): void;
    set({ id, index, value }: IArrayArgs): void;
    shift({ id }: IArrayArgs): any;
    sort({ id, order }: IArrayArgs, posStr: string): void;
    standardize({ id }: IArrayArgs, posStr: string): IPseudoArray | undefined;
    stdev({ id }: IArrayArgs, posStr: string): number | undefined;
    sum({ id }: IArrayArgs, posStr: string): any;
    unshift({ id, value }: IArrayArgs): void;
    variance({ id }: IArrayArgs, posStr: string): number | undefined;
    private _calculateVariances;
    private _calculateStandardDeviations;
    private _standardizeArray;
    private _mode;
    private _median;
    private _minNth;
    private _maxNth;
    private _setElements;
    private _covariance;
    private _verifySimpleType;
}
export interface IPseudoArray {
    isArray: boolean;
    typeName?: string;
    type: VInsType;
    _isNumber: boolean;
    _value: any[];
}
export declare function createPseudoArray(size?: number, initialValue?: any, type?: string): IPseudoArray;
export {};
