/** Base class for every error the chart-rule evaluator can throw. */ export declare class ChartRuleError extends Error { } /** * A node whose `kind` is not in the vocabulary. The caller catches this and * shows the setting as "configured in code", read-only. */ export declare class UnknownNodeError extends ChartRuleError { readonly kind?: string | undefined; constructor(kind?: string | undefined); } /** A node evaluated to the wrong type of value (e.g. comparing non-numbers). */ export declare class RuleTypeError extends ChartRuleError { constructor(message: string); } /** * A structurally invalid node in a deserialized value: not an object, no string * `kind`, or a `literal` without a scalar `value`. Distinct from * `UnknownNodeError` (a well-formed node whose `kind` is simply not in the * vocabulary — the intentional escape hatch). Like the others it is a * `ChartRuleError`, so a caller reading an untrusted rule catches it instead of * a native `TypeError` (or, worse, an `undefined` slipping through silently). */ export declare class MalformedRuleError extends ChartRuleError { constructor(message: string); } /** @deprecated v1 is non-recursive. Retained for source compatibility. */ export declare class RuleDepthError extends ChartRuleError { constructor(maxDepth: number); } //# sourceMappingURL=errors.d.ts.map