import { Node } from "@chainsafe/persistent-merkle-tree"; import { Type, ValueOf } from "./abstract.ts"; import { CompositeType } from "./composite.ts"; /** * Array: ordered homogeneous collection */ export declare abstract class ArrayType, TV, TVDU> extends CompositeType[], TV, TVDU> { readonly elementType: ElementType; abstract readonly itemsPerChunk: number; protected abstract readonly defaultLen: number; constructor(elementType: ElementType, cachePermanentRootStruct?: boolean); defaultValue(): ValueOf[]; abstract tree_getLength(node: Node): number; getPropertyType(): Type; getPropertyGindex(prop: string | number): bigint; getIndexProperty(index: number): string | number; tree_getLeafGindices(rootGindex: bigint, rootNode?: Node): bigint[]; fromJson(json: unknown): ValueOf[]; toJson(value: ValueOf[]): unknown; clone(value: ValueOf[]): ValueOf[]; equals(a: ValueOf[], b: ValueOf[]): boolean; }