export interface SeriesShape { start: string; allDay: boolean; tz?: string; rrule: string; exdates: string[]; rdates: string[]; } export interface SeriesPart { rrule: string; exdates: string[]; rdates: string[]; } export declare class NotAnInstanceError extends Error { constructor(cut: string); } export declare class SeriesTooLongError extends Error { constructor(cut: string); } export declare function splitSeries(s: SeriesShape, cut: string): { head: SeriesPart; tail: SeriesPart; consumed: number; } | null; export declare function addExdate(exdates: string[], instance: string, allDay: boolean): string[];