import Text from './Text'; /** * @name Type * @description * This is a extended version of String, specifically to handle types. Here we rely fully * on what string provides us, however we also adjust the types received from the runtime, * i.e. we remove the `T::` prefixes found in some types for consistency accross implementation. */ export default class Type extends Text { private _originalLength; private static _mappings; constructor(value?: Text | Uint8Array | string); private static decodeType; /** * @description The length of the value when encoded as a Uint8Array */ readonly encodedLength: number; private static _findClosing; private static _alias; private static _cleanupCompact; private static _flattenSingleTuple; private static _removeColonPrefix; private static _removeGenerics; private static _removePairOf; private static _removeTraits; private static _removeWrap; /** * @description Returns the base runtime type name for this instance */ toRawType(): string; }