import { Cloneable } from "../utils/Cloneable.js"; import { ToRawObj } from "./interfaces/ToRawObj.js"; import { ICborObj } from "./interfaces/ICborObj.js"; import { SubCborRef } from "../SubCborRef.js"; export type RawCborText = { text: string; }; export declare function isRawCborText(t: RawCborText): boolean; export declare class CborText implements ToRawObj, Cloneable, ICborObj { subCborRef?: SubCborRef | undefined; get text(): string; chunks: string | CborText[]; get isDefiniteLength(): boolean; addInfos: number; constructor(text: string | CborText[], addInfos?: number, subCborRef?: SubCborRef | undefined); toRawObj(): RawCborText; clone(): CborText; }