import IODefinitions from '../../core/definitions.cjs'; import Token from '../tokenizer/tokens.cjs'; import Node from './nodes.cjs'; import '../../schema/schema.cjs'; import '../../schema/types/memberdef.cjs'; import '../../schema/schema-types.cjs'; import '../../core/decimal/decimal.cjs'; import '../../core/positions.cjs'; import '../../errors/io-error.cjs'; import '../tokenizer/token-types.cjs'; /** * Represents a token node. It represents the leaf nodes in the AST. */ declare class TokenNode extends Token implements Node { constructor(token: Token); /** * Returns the parsed value from the token. * @param defs If the token is of type string, then check if it is a reference * and return the value from the definitions. * @returns The parsed value. */ toValue(defs?: IODefinitions): any; } export { TokenNode as default };