import type { FareRule, FareRuleCategory, FareValidationResult } from "./types.ts";
export declare const CATEGORY_NAMES: Record<FareRuleCategory, string>;
export declare class FareRuleParser {
    /**
     * Parse fare rule text (ATPCO-style) into structured rules.
     * Best-effort extraction — flags unparseable sections.
     */
    parse(rawRules: string): FareRule[];
}
export interface ValidationContext {
    departureDate: string;
    bookingDate: string;
    isRoundTrip: boolean;
    stayNights?: number;
}
export declare class FareRuleValidator {
    private readonly rules;
    constructor(rules: FareRule[]);
    validate(ctx: ValidationContext): FareValidationResult;
    private extractDays;
    private isBlackoutDate;
}
//# sourceMappingURL=rules.d.ts.map