import { CompareDirective } from './CompareDirective'; import { DirectiveRequest, MatchResult, MatchContext } from '../core/types'; /** * Time directive for time range comparisons * * Validates that a timestamp is within a range of a base time * * Examples: * - {{compare:time:range:-300:+300:seconds}} → Within 5 minutes past and future * - {{compare:time:range:+60:minutes}} → Up to 60 minutes in the future * - {{compare:time:range:-60:minutes}} → Up to 60 minutes in the past * - {{compare:time:exact}} → Exact time match with baseTime (offset = 0) * - {{compare:time:exact:630:seconds}} → Exact match with baseTime + 630 seconds */ export declare class TimeDirective implements CompareDirective { readonly name = "time"; createMatcher(request: DirectiveRequest): (actual: any, _expected: any, matchContext: MatchContext) => MatchResult; /** * Create a range matcher * * Args formats: * - ["-300", "+300", "seconds"] → Combined range (past and future) * - ["+60", "seconds"] → Future only * - ["-60", "seconds"] → Past only */ private createRangeMatcher; /** * Create an exact matcher with optional offset * * Args formats: * - [] → No offset (baseTime + 0) * - ["630", "seconds"] → baseTime + 630 seconds */ private createExactMatcher; } //# sourceMappingURL=TimeDirective.d.ts.map