import { CompareDirective } from './CompareDirective'; import { DirectiveRequest, MatchResult, MatchContext } from '../core/types'; /** * Number directive for number range and tolerance comparisons * * Validates that a number is within a range or tolerance * * Examples: * - {{compare:number:range:0:100}} → Number between 0 and 100 * - {{compare:number:tolerance:42:±5}} → Number 42 ± 5 (37-47) * - {{compare:number:tolerance:100:±10%}} → Number 100 ± 10% (90-110) */ export declare class NumberDirective implements CompareDirective { readonly name = "number"; createMatcher(request: DirectiveRequest): (actual: any, _expected: any, _context: MatchContext) => MatchResult; /** * Create a range matcher * * Args: [min, max] * Example: ["0", "100"] */ private createRangeMatcher; /** * Create a tolerance matcher * * Args: [value, tolerance] * Example: ["42", "±5"] or ["100", "±10%"] */ private createToleranceMatcher; } //# sourceMappingURL=NumberDirective.d.ts.map