import FormatBase from './FormatBase.js'; /** abstract class that support array-like methods and 'for...of' operation */ declare abstract class ArrayFormatBase extends FormatBase { protected constructor(view: DataView); abstract readonly length: number; abstract get(index: number): Readonly; abstract set(index: number, data: T): void; forEach(callback: (value: T, index: number, base: this) => void): void; _iterator(): Iterator>; } interface ArrayFormatBase { [Symbol.iterator]: () => Iterator>; } export default ArrayFormatBase;