import { Brand } from '../@types/Brand.ts'; import { RstText } from '../RstNode/Inline/Text.ts'; import { RstNode, RstNodeJson } from '../RstNode/RstNode.ts'; export type RstNodeId = Brand; export type RstNodeRegistration = { id: RstNodeId; nthOfType: number; }; export declare class RstNodeRegistrar { private readonly _nodes; private readonly _nodesOfType; registerNewNode(node: RstNode): RstNodeRegistration; reviveRstNodeFromJson(json: RstNodeJson): RstNode; reviveRstTextFromJson(json: RstNodeJson): RstText; } //# sourceMappingURL=RstNodeRegistrar.d.ts.map