UNPKG

@bufbuild/cel-spec

Version:

CEL definitions and test data

17 lines (16 loc) 583 B
import type { Expr } from "../gen/cel/expr/syntax_pb.ts"; import type { Message } from "@bufbuild/protobuf"; /** * Returns adorned debug output for the given expression tree, following cel-go. * * @private Caution: This functions requires ES2024 features. */ export declare function toDebugString(expr: Expr, adorner?: Adorner): string; export interface Adorner { GetMetadata(context: Message): string; } export declare class KindAdorner implements Adorner { static readonly singleton: KindAdorner; private constructor(); GetMetadata(context: Message): string; }