@bufbuild/cel
Version:
A CEL evaluator for ECMAScript
21 lines (20 loc) • 433 B
TypeScript
declare const privateSymbol: unique symbol;
/**
* Marker type for a uint.
*/
export interface CelUint {
[privateSymbol]: unknown;
/**
* The Uint value.
*/
readonly value: bigint;
}
/**
* Creates a new CelUint from bigint.
*/
export declare function celUint(v: bigint): CelUint;
/**
* Returns true if the given value is a CelUint.
*/
export declare function isCelUint(v: unknown): v is CelUint;
export {};