import IODefinitions from '../../core/definitions.js'; import Token from '../tokenizer/tokens.js'; import Node from './nodes.js'; import '../../schema/schema.js'; import '../../schema/types/memberdef.js'; import '../../schema/schema-types.js'; import '../../core/decimal/decimal.js'; import '../../core/positions.js'; import '../../errors/io-error.js'; import '../tokenizer/token-types.js'; /** * 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 };