import { Cloneable } from "../utils/Cloneable.js"; import { CborObj, RawCborObj } from "./CborObj.js"; import { ToRawObj } from "./interfaces/ToRawObj.js"; import { ICborObj } from "./interfaces/ICborObj.js"; import { SubCborRef } from "../SubCborRef.js"; export interface CborArrayOptions { indefinite?: boolean; addInfos?: number | undefined; } export type RawCborArray = { array: RawCborObj[]; options?: CborArrayOptions; }; export declare function isRawCborArray(arr: RawCborArray): boolean; export declare class CborArray implements ToRawObj, Cloneable, ICborObj { subCborRef?: SubCborRef | undefined; readonly array: CborObj[]; readonly indefinite: boolean; addInfos: number; constructor(array: CborObj[], options?: CborArrayOptions, subCborRef?: SubCborRef | undefined); toRawObj(): RawCborArray; clone(): CborArray; }