import type { PineArray, int, float, bool, simple_int, color, Line, Box, Label, Linefill } from '../types'; export declare function new_array(size?: simple_int, initial_value?: T): PineArray; export declare function size(id: PineArray): int; export declare function get(id: PineArray, index: simple_int): T; export declare function set(id: PineArray, index: simple_int, value: T): void; export declare function push(id: PineArray, value: T): void; export declare function pop(id: PineArray): T; export declare function unshift(id: PineArray, value: T): void; export declare function shift(id: PineArray): T; export declare function clear(id: PineArray): void; export declare function insert(id: PineArray, index: simple_int, value: T): void; export declare function remove(id: PineArray, index: simple_int): T; export declare function includes(id: PineArray, value: T): bool; export declare function indexof(id: PineArray, value: T): int; export declare function lastindexof(id: PineArray, value: T): int; export declare function copy(id: PineArray): PineArray; export declare function concat(id1: PineArray, id2: PineArray): PineArray; export declare function join(id: PineArray, separator?: string): string; export declare function reverse(id: PineArray): void; export declare function slice(id: PineArray, index_from: simple_int, index_to?: simple_int): PineArray; export declare function sort(id: PineArray, order?: 'asc' | 'desc'): void; export declare function sum(id: PineArray): float; export declare function avg(id: PineArray): float; export declare function min(id: PineArray): float; export declare function max(id: PineArray): float; export declare function median(id: PineArray): float; export declare function mode(id: PineArray): float; export declare function stdev(id: PineArray): float; export declare function variance(id: PineArray): float; export declare function fill(id: PineArray, value: T, index_from?: simple_int, index_to?: simple_int): void; export declare function from(id: PineArray): PineArray; export declare function first(id: PineArray): T; export declare function last(id: PineArray): T; export declare function some(id: PineArray, predicate: (value: T) => bool): bool; export declare function every(id: PineArray, predicate: (value: T) => bool): bool; export declare function new_bool(size?: simple_int, initial_value?: bool): PineArray; export declare function new_float(size?: simple_int, initial_value?: float): PineArray; export declare function new_int(size?: simple_int, initial_value?: int): PineArray; export declare function new_string(size?: simple_int, initial_value?: string): PineArray; export declare function new_color(size?: simple_int, initial_value?: color): PineArray; export declare function new_line(size?: simple_int, initial_value?: Line): PineArray; export declare function new_box(size?: simple_int, initial_value?: Box): PineArray; export declare function new_label(size?: simple_int, initial_value?: Label): PineArray