import { OrgChildrenList } from './org-children-list.js'; import { BlockProperties, MetaInfo, NodeType, OrgStruct } from './types.js'; export declare class OrgNode { type: NodeType; safeCheckMode: boolean; value: string; parent?: OrgNode; start: number; end: number; meta: MetaInfo; children?: OrgChildrenList; private _prev?; get prev(): OrgNode; get childrenList(): OrgNode[]; get lastChild(): OrgNode; private _next?; get next(): OrgNode; private _level?; get level(): number; private _title?; get title(): OrgNode; private _section?; get section(): OrgNode; private _ordered?; get ordered(): boolean; private _properties?; get properties(): BlockProperties; private _checked?; get checked(): boolean; set checked(checked: boolean); get length(): number; get rawValue(): string; get cleanValue(): string; private getRawValueFromNodes; constructor(nodeData: OrgStruct); private initPositions; setParent(parent: OrgNode): void; setPrev(prev: OrgNode): void; setNext(next: OrgNode): void; updateMeta(partialInfo: MetaInfo): void; setProperties(properties: { [key: string]: any; }): void; mergeProperties(properties: { [key: string]: any; }): void; private validateAddedChild; addChild(child: OrgNode): OrgNode; setChildren(children?: OrgChildrenList | OrgNode[]): void; resetChildren(): void; removeChildren(nodes?: OrgNode[] | OrgChildrenList): void; removeNode(node: OrgNode): void; private rebalanceRanges; private recalculateParentEnd; private recalculateForEachNestedNodes; calculateNodeProperties(): void; private setPropertyForNode; findParent(...parentType: NodeType[]): OrgNode; private recalculatePositionsForNeighbors; setTitle(title: OrgNode): OrgNode; setSection(section: OrgNode): OrgNode; addRawChildren(children: OrgStruct[]): void; addChildren(children?: OrgNode[] | OrgChildrenList): void; setValue(value: string): void; appendValue(value: string): void; setLevel(level: number): void; prependValue(value: string): void; addNextNode(node: OrgNode): void; is(...nodeType: NodeType[]): boolean; isNot(...nodeType: NodeType[]): boolean; toString(): string; toJson(): any; private forEachNestedChildren; isEqual(value: string): boolean; }