import type { ArrApi } from '../../../json-crdt/model'; import { NestedTag } from './NestedTag'; import type { Slice } from './Slice'; export declare class NestedType { protected slice: Slice; constructor(slice: Slice); /** Enforces slice type to be an "arr" of tags. */ asArr(): ArrApi; /** * Nested tag API for nested block types. * * @param index The position of the tag in the type array. If not specified, * returns the last tag (255). Maximum index is 255. * @returns Slice tag API for the given position. */ tag(index?: number): NestedTag; }