import { Range } from "../Types.js"; import { ParsingContext } from "../ParsingContext.js"; import type { Options } from "@markwhen/rrule"; export type DurationUnit = "years" | "months" | "weeks" | "weekdays" | "days" | "hours" | "minutes" | "seconds" | "milliseconds"; export type Duration = Partial>; export interface RecurrenceInText { recurrence: Recurrence; range: Range; } export type Recurrence = Omit, "until" | "dtstart"> & { until?: string; dtstart?: string; }; export declare const recurrenceDurationUnits: DurationUnit[]; export declare function toJsDates(recurrence: Recurrence): Partial; export declare const checkEdtfRecurrence: (line: string, i: number, lengthAtIndex: number[], eventStartLineRegexMatch: RegExpMatchArray, context: ParsingContext) => RecurrenceInText | undefined; export declare const checkRecurrence: (line: string, i: number, lengthAtIndex: number[], eventStartLineRegexMatch: RegExpMatchArray, context: ParsingContext) => RecurrenceInText | undefined;