import { RecurrenceRule } from "../types/recurrence.js";
import "../types/index.js";
/**
 * Read a RECUR value (the text after `RRULE:`) into a checked rule, or null when the text breaks
 * the grammar or a §3.3.10 rule. Never reads a part twice, never accepts whitespace or an empty
 * part.
 */
export declare function readRecurrenceRule(text: string): RecurrenceRule | null;
/**
 * Check a rule against RFC 5545 §3.3.10 and return a fresh, frozen, normalised record (lists
 * sorted ascending and deduplicated, `byDay` ordered by weekday then ordinal), or null. The input
 * is never mutated. Never throws.
 */
export declare function checkRecurrenceRule(rule: unknown): RecurrenceRule | null;