import { Value } from '../../sourcegen/index.js'; import { Assertion } from './assertion.js'; /** * Rejects an assertion source that has no codegen case. * * The `never` parameter makes an unhandled source a compile-time error: adding a * member to a monitor's assertion source union without adding the matching codegen * case fails to typecheck. The runtime throw remains because wire data may carry a * source this version of the CLI does not know about. */ export declare function unsupportedAssertionSource(source: never, kind?: string): never; export interface ValueForNumericAssertionOptions { hasProperty?: boolean; /** * How to read the target as a number. Defaults to `parseInt`, which takes the leading * numeric prefix — lenient by design, since wire targets may carry units ('5%'). * Callers that have already established the target is a full number can pass `Number` * to keep fractions and avoid truncating '30.5' to 30. */ parse?: (target: string) => number; } export declare function valueForNumericAssertion(klass: string, method: string, assertion: Assertion, options?: ValueForNumericAssertionOptions): Value; export interface ValueForBooleanAssertionOptions { hasProperty?: boolean; } export declare function valueForBooleanAssertion(klass: string, method: string, assertion: Assertion, options?: ValueForBooleanAssertionOptions): Value; export interface ValueForGeneralAssertionOptions { hasProperty?: boolean; hasRegex?: boolean; } export declare function valueForGeneralAssertion(klass: string, method: string, assertion: Assertion, options?: ValueForGeneralAssertionOptions): Value;