@rareelements/lydia
Version:
RFC5545 implementation
25 lines • 872 B
TypeScript
import { IRawProperty, IRawComponent } from '../model/RawCalendarTypes';
import { Component } from '../model/Component';
export declare const P_DELIMITER = ";";
export declare const V_DELIMITER = ":";
export declare const E_DELIMITER = "=";
export interface IKeyPair {
name: string;
value?: string;
}
export declare class Helper {
static parseLine(line: string): IRawProperty;
static unescapeText(value: string): string;
}
export declare enum SpecialStrings {
VCALENDAR = "VCALENDAR",
BEGIN = "BEGIN",
END = "END",
VERSION = "VERSION",
PROVIDER = "PROVIDER",
CALENDAR_START = "BEGIN:VCALENDAR",
CALENDAR_END = "END:VCALENDAR"
}
export declare function extractEntityName(line: string): string;
export declare function cookComponent(rawComponent: IRawComponent, defaultTZ?: string): Component;
//# sourceMappingURL=Helper.d.ts.map