import { E as Environment } from '../index-BpzWL9p_.js'; import { Token } from '../keywords/index.js'; import { Literal } from '../node/index.js'; import '../index-BPjG7sbj.js'; import '../libs/types.js'; declare enum ErrorType { UNKNOWN = "UNKNOWN", VARIABLE_NOT_FOUND = "VARIABLE_NOT_FOUND" } declare enum ErrorCode { INTERPRETER_ERROR = "INTERPRETER_ERROR", SYNTAX_ERROR = "SYNTAX_ERROR", RUNTIME_ERROR = "RUNTIME_ERROR" } declare class ErrorStack extends Error { message: string; code: ErrorCode; constructor(message: string, env?: Environment, token?: Token | Literal); setCode(code: ErrorCode): void; } declare class ErrorStackManager { private errorStacks; addError(error: ErrorStack): this; queryError(): ErrorStack[]; throw(): void; throwAll(): void; } export { ErrorCode, ErrorStack, ErrorStackManager, ErrorType };