import { r as Token } from './types-B8V5_S5n.js';
export { A as ASTNode, B as BaseSymbolType, i as BooleanSymbol, b as ColorManager, c as ColorSpecification, d as ColorSpecificationSchema, j as ColorSymbol, a as Config, C as ConfigOptions, D as DEFAULT_LANGUAGE_OPTIONS, k as DictionarySymbol, e as FunctionSpecification, f as FunctionSpecificationSchema, F as FunctionsManager, I as ISymbolType, L as LanguageOptions, n as ListSymbol, N as NullSymbol, o as NumberSymbol, p as NumberWithUnitSymbol, O as Operations, u as ReferenceRecord, t as ReferenceRecordValue, R as ReservedKeyword, S as StringSymbol, q as SupportedFormats, T as TokenType, s as UNINTERPRETED_KEYWORDS, U as UnitManager, g as UnitSpecification, h as UnitSpecificationSchema, l as getResultTypeName, m as jsValueToSymbolType } from './types-B8V5_S5n.js';
export { I as Interpreter, a as InterpreterResult, L as Lexer, P as Parser, p as parseExpression } from './interpreter-CEwI0oqN.js';
import 'arktype/out/variants/object';

declare enum ColorManagerError {
    STRING_VALUE_ASSIGNMENT = "STRING_VALUE_ASSIGNMENT",
    ATTRIBUTE_CHAIN_TOO_LONG = "ATTRIBUTE_CHAIN_TOO_LONG",
    MISSING_SPEC = "MISSING_SPEC",
    MISSING_SCHEMA = "MISSING_SCHEMA",
    INVALID_ATTRIBUTE_TYPE = "INVALID_ATTRIBUTE_TYPE"
}
type ColorManagerErrorType = ColorManagerError.STRING_VALUE_ASSIGNMENT | ColorManagerError.ATTRIBUTE_CHAIN_TOO_LONG | ColorManagerError.MISSING_SPEC | ColorManagerError.MISSING_SCHEMA | ColorManagerError.INVALID_ATTRIBUTE_TYPE;

declare enum UnitManagerError {
    INVALID_UNIT_TYPE = "INVALID_UNIT_TYPE",
    MISSING_TO_ABSOLUTE = "MISSING_TO_ABSOLUTE",
    MISSING_SPEC = "MISSING_SPEC",
    NO_CONVERSION_PATH = "NO_CONVERSION_PATH",
    MULTIPLE_RELATIVE_UNITS = "MULTIPLE_RELATIVE_UNITS",
    CONVERSION_EXECUTION_FAILED = "CONVERSION_EXECUTION_FAILED"
}
type UnitManagerErrorType = UnitManagerError;

declare class LanguageError extends Error {
    line?: number;
    token?: Token;
    meta?: any;
    originalMessage?: string;
    constructor(message: string, line?: number, token?: Token, meta?: any);
    private formatMessage;
}
declare class LexerError extends LanguageError {
    constructor(message: string, line?: number, token?: Token);
}
declare class ParserError extends LanguageError {
    constructor(message: string, line?: number, token?: Token);
}
type InterpreterErrorType = ColorManagerErrorType | UnitManagerErrorType | string;
declare class InterpreterError extends LanguageError {
    type?: InterpreterErrorType;
    constructor(message: string, line?: number, token?: Token, meta?: any, type?: InterpreterErrorType);
}

export { InterpreterError, type InterpreterErrorType, LanguageError, LexerError, ParserError, Token };
