///
///
/**
* Type Definitions for Gjs (https://gjs.guide/)
*
* These type definitions are automatically generated, do not edit them by hand.
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
*
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
*/
declare module 'gi://ICal?version=3.0' {
// Module dependencies
import type GObject from 'gi://GObject?version=2.0';
import type GLib from 'gi://GLib?version=2.0';
export namespace ICal {
/**
* ICal-3.0
*/
export namespace _unknown_token_handling {
export const $gtype: GObject.GType<_unknown_token_handling>;
}
enum _unknown_token_handling {
ASSUME_IANA_TOKEN,
DISCARD_TOKEN,
TREAT_AS_ERROR,
}
export namespace component_kind {
export const $gtype: GObject.GType;
}
enum component_kind {
NO_COMPONENT,
ANY_COMPONENT,
XROOT_COMPONENT,
XATTACH_COMPONENT,
VEVENT_COMPONENT,
VTODO_COMPONENT,
VJOURNAL_COMPONENT,
VCALENDAR_COMPONENT,
VAGENDA_COMPONENT,
VFREEBUSY_COMPONENT,
VALARM_COMPONENT,
XAUDIOALARM_COMPONENT,
XDISPLAYALARM_COMPONENT,
XEMAILALARM_COMPONENT,
XPROCEDUREALARM_COMPONENT,
VTIMEZONE_COMPONENT,
XSTANDARD_COMPONENT,
XDAYLIGHT_COMPONENT,
X_COMPONENT,
VSCHEDULE_COMPONENT,
VQUERY_COMPONENT,
VREPLY_COMPONENT,
VCAR_COMPONENT,
VCOMMAND_COMPONENT,
XLICINVALID_COMPONENT,
XLICMIMEPART_COMPONENT,
VAVAILABILITY_COMPONENT,
XAVAILABLE_COMPONENT,
VPOLL_COMPONENT,
VVOTER_COMPONENT,
XVOTE_COMPONENT,
VPATCH_COMPONENT,
XPATCH_COMPONENT,
}
export namespace errorenum {
export const $gtype: GObject.GType;
}
enum errorenum {
NO_ERROR,
BADARG_ERROR,
NEWFAILED_ERROR,
ALLOCATION_ERROR,
MALFORMEDDATA_ERROR,
PARSE_ERROR,
INTERNAL_ERROR,
FILE_ERROR,
USAGE_ERROR,
UNIMPLEMENTED_ERROR,
UNKNOWN_ERROR,
}
export namespace errorstate {
export const $gtype: GObject.GType;
}
enum errorstate {
FATAL,
NONFATAL,
DEFAULT,
UNKNOWN,
}
export namespace parameter_action {
export const $gtype: GObject.GType;
}
enum parameter_action {
X,
ASK,
ABORT,
NONE,
}
export namespace parameter_cutype {
export const $gtype: GObject.GType;
}
enum parameter_cutype {
X,
INDIVIDUAL,
GROUP,
RESOURCE,
ROOM,
UNKNOWN,
NONE,
}
export namespace parameter_display {
export const $gtype: GObject.GType;
}
enum parameter_display {
X,
BADGE,
GRAPHIC,
FULLSIZE,
THUMBNAIL,
NONE,
}
export namespace parameter_enable {
export const $gtype: GObject.GType;
}
enum parameter_enable {
X,
TRUE,
FALSE,
NONE,
}
export namespace parameter_encoding {
export const $gtype: GObject.GType;
}
enum parameter_encoding {
X,
'8BIT',
BASE64,
NONE,
}
export namespace parameter_fbtype {
export const $gtype: GObject.GType;
}
enum parameter_fbtype {
X,
FREE,
BUSY,
BUSYUNAVAILABLE,
BUSYTENTATIVE,
NONE,
}
export namespace parameter_feature {
export const $gtype: GObject.GType;
}
enum parameter_feature {
X,
AUDIO,
CHAT,
FEED,
MODERATOR,
PHONE,
SCREEN,
VIDEO,
NONE,
}
export namespace parameter_kind {
export const $gtype: GObject.GType;
}
enum parameter_kind {
ANY_PARAMETER,
ACTIONPARAM_PARAMETER,
ALTREP_PARAMETER,
CHARSET_PARAMETER,
CN_PARAMETER,
CUTYPE_PARAMETER,
DELEGATEDFROM_PARAMETER,
DELEGATEDTO_PARAMETER,
DIR_PARAMETER,
DISPLAY_PARAMETER,
EMAIL_PARAMETER,
ENABLE_PARAMETER,
ENCODING_PARAMETER,
FBTYPE_PARAMETER,
FEATURE_PARAMETER,
FILENAME_PARAMETER,
FMTTYPE_PARAMETER,
IANA_PARAMETER,
ID_PARAMETER,
LABEL_PARAMETER,
LANGUAGE_PARAMETER,
LATENCY_PARAMETER,
LOCAL_PARAMETER,
LOCALIZE_PARAMETER,
MANAGEDID_PARAMETER,
MEMBER_PARAMETER,
MODIFIED_PARAMETER,
OPTIONS_PARAMETER,
PARTSTAT_PARAMETER,
PATCHACTION_PARAMETER,
PUBLICCOMMENT_PARAMETER,
RANGE_PARAMETER,
REASON_PARAMETER,
RELATED_PARAMETER,
RELTYPE_PARAMETER,
REQUIRED_PARAMETER,
RESPONSE_PARAMETER,
ROLE_PARAMETER,
RSVP_PARAMETER,
SCHEDULEAGENT_PARAMETER,
SCHEDULEFORCESEND_PARAMETER,
SCHEDULESTATUS_PARAMETER,
SENTBY_PARAMETER,
SIZE_PARAMETER,
STAYINFORMED_PARAMETER,
SUBSTATE_PARAMETER,
TZID_PARAMETER,
VALUE_PARAMETER,
X_PARAMETER,
XLICCOMPARETYPE_PARAMETER,
XLICERRORTYPE_PARAMETER,
NO_PARAMETER,
}
export namespace parameter_local {
export const $gtype: GObject.GType;
}
enum parameter_local {
X,
TRUE,
FALSE,
NONE,
}
export namespace parameter_partstat {
export const $gtype: GObject.GType;
}
enum parameter_partstat {
X,
NEEDSACTION,
ACCEPTED,
DECLINED,
TENTATIVE,
DELEGATED,
COMPLETED,
INPROCESS,
FAILED,
NONE,
}
export namespace parameter_patchaction {
export const $gtype: GObject.GType;
}
enum parameter_patchaction {
X,
CREATE,
BYNAME,
BYVALUE,
BYPARAM,
NONE,
}
export namespace parameter_range {
export const $gtype: GObject.GType;
}
enum parameter_range {
X,
THISANDPRIOR,
THISANDFUTURE,
NONE,
}
export namespace parameter_related {
export const $gtype: GObject.GType;
}
enum parameter_related {
X,
START,
END,
NONE,
}
export namespace parameter_reltype {
export const $gtype: GObject.GType;
}
enum parameter_reltype {
X,
PARENT,
CHILD,
SIBLING,
POLL,
NONE,
}
export namespace parameter_required {
export const $gtype: GObject.GType;
}
enum parameter_required {
X,
TRUE,
FALSE,
NONE,
}
export namespace parameter_role {
export const $gtype: GObject.GType;
}
enum parameter_role {
X,
CHAIR,
REQPARTICIPANT,
OPTPARTICIPANT,
NONPARTICIPANT,
NONE,
}
export namespace parameter_rsvp {
export const $gtype: GObject.GType;
}
enum parameter_rsvp {
X,
TRUE,
FALSE,
NONE,
}
export namespace parameter_scheduleagent {
export const $gtype: GObject.GType;
}
enum parameter_scheduleagent {
X,
SERVER,
CLIENT,
NONE,
}
export namespace parameter_scheduleforcesend {
export const $gtype: GObject.GType;
}
enum parameter_scheduleforcesend {
X,
REQUEST,
REPLY,
NONE,
}
export namespace parameter_stayinformed {
export const $gtype: GObject.GType;
}
enum parameter_stayinformed {
X,
TRUE,
FALSE,
NONE,
}
export namespace parameter_substate {
export const $gtype: GObject.GType;
}
enum parameter_substate {
X,
OK,
ERROR,
SUSPENDED,
NONE,
}
export namespace parameter_value {
export const $gtype: GObject.GType;
}
enum parameter_value {
X,
BINARY,
BOOLEAN,
DATE,
DURATION,
FLOAT,
INTEGER,
PERIOD,
RECUR,
TEXT,
URI,
ERROR,
DATETIME,
UTCOFFSET,
CALADDRESS,
NONE,
}
export namespace parameter_xliccomparetype {
export const $gtype: GObject.GType;
}
enum parameter_xliccomparetype {
X,
EQUAL,
NOTEQUAL,
LESS,
GREATER,
LESSEQUAL,
GREATEREQUAL,
REGEX,
ISNULL,
ISNOTNULL,
NONE,
}
export namespace parameter_xlicerrortype {
export const $gtype: GObject.GType;
}
enum parameter_xlicerrortype {
X,
COMPONENTPARSEERROR,
PROPERTYPARSEERROR,
PARAMETERNAMEPARSEERROR,
PARAMETERVALUEPARSEERROR,
VALUEPARSEERROR,
INVALIDITIP,
UNKNOWNVCALPROPERROR,
MIMEPARSEERROR,
VCALPROPPARSEERROR,
NONE,
}
export namespace parser_state {
export const $gtype: GObject.GType;
}
enum parser_state {
ERROR,
SUCCESS,
BEGIN_COMP,
END_COMP,
IN_PROGRESS,
}
export namespace property_action {
export const $gtype: GObject.GType;
}
enum property_action {
X,
AUDIO,
DISPLAY,
EMAIL,
PROCEDURE,
NONE,
}
export namespace property_busytype {
export const $gtype: GObject.GType;
}
enum property_busytype {
X,
BUSY,
BUSYUNAVAILABLE,
BUSYTENTATIVE,
NONE,
}
export namespace property_carlevel {
export const $gtype: GObject.GType;
}
enum property_carlevel {
X,
CARNONE,
CARMIN,
CARFULL1,
NONE,
}
export namespace property_class {
export const $gtype: GObject.GType;
}
enum property_class {
X,
PUBLIC,
PRIVATE,
CONFIDENTIAL,
NONE,
}
export namespace property_cmd {
export const $gtype: GObject.GType;
}
enum property_cmd {
X,
ABORT,
CONTINUE,
CREATE,
DELETE,
GENERATEUID,
GETCAPABILITY,
IDENTIFY,
MODIFY,
MOVE,
REPLY,
SEARCH,
SETLOCALE,
NONE,
}
export namespace property_kind {
export const $gtype: GObject.GType;
}
enum property_kind {
ANY_PROPERTY,
ACCEPTRESPONSE_PROPERTY,
ACKNOWLEDGED_PROPERTY,
ACTION_PROPERTY,
ALLOWCONFLICT_PROPERTY,
ATTACH_PROPERTY,
ATTENDEE_PROPERTY,
BUSYTYPE_PROPERTY,
CALID_PROPERTY,
CALMASTER_PROPERTY,
CALSCALE_PROPERTY,
CAPVERSION_PROPERTY,
CARLEVEL_PROPERTY,
CARID_PROPERTY,
CATEGORIES_PROPERTY,
CLASS_PROPERTY,
CMD_PROPERTY,
COLOR_PROPERTY,
COMMENT_PROPERTY,
COMPLETED_PROPERTY,
COMPONENTS_PROPERTY,
CONFERENCE_PROPERTY,
CONTACT_PROPERTY,
CREATED_PROPERTY,
CSID_PROPERTY,
DATEMAX_PROPERTY,
DATEMIN_PROPERTY,
DECREED_PROPERTY,
DEFAULTCHARSET_PROPERTY,
DEFAULTLOCALE_PROPERTY,
DEFAULTTZID_PROPERTY,
DEFAULTVCARS_PROPERTY,
DENY_PROPERTY,
DESCRIPTION_PROPERTY,
DTEND_PROPERTY,
DTSTAMP_PROPERTY,
DTSTART_PROPERTY,
DUE_PROPERTY,
DURATION_PROPERTY,
ESTIMATEDDURATION_PROPERTY,
EXDATE_PROPERTY,
EXPAND_PROPERTY,
EXRULE_PROPERTY,
FREEBUSY_PROPERTY,
GEO_PROPERTY,
GRANT_PROPERTY,
IMAGE_PROPERTY,
ITIPVERSION_PROPERTY,
LASTMODIFIED_PROPERTY,
LOCATION_PROPERTY,
MAXCOMPONENTSIZE_PROPERTY,
MAXDATE_PROPERTY,
MAXRESULTS_PROPERTY,
MAXRESULTSSIZE_PROPERTY,
METHOD_PROPERTY,
MINDATE_PROPERTY,
MULTIPART_PROPERTY,
NAME_PROPERTY,
ORGANIZER_PROPERTY,
OWNER_PROPERTY,
PATCHDELETE_PROPERTY,
PATCHORDER_PROPERTY,
PATCHPARAMETER_PROPERTY,
PATCHTARGET_PROPERTY,
PATCHVERSION_PROPERTY,
PERCENTCOMPLETE_PROPERTY,
PERMISSION_PROPERTY,
POLLCOMPLETION_PROPERTY,
POLLITEMID_PROPERTY,
POLLMODE_PROPERTY,
POLLPROPERTIES_PROPERTY,
POLLWINNER_PROPERTY,
PRIORITY_PROPERTY,
PRODID_PROPERTY,
QUERY_PROPERTY,
QUERYLEVEL_PROPERTY,
QUERYID_PROPERTY,
QUERYNAME_PROPERTY,
RDATE_PROPERTY,
RECURACCEPTED_PROPERTY,
RECUREXPAND_PROPERTY,
RECURLIMIT_PROPERTY,
RECURRENCEID_PROPERTY,
REFRESHINTERVAL_PROPERTY,
RELATEDTO_PROPERTY,
RELCALID_PROPERTY,
REPEAT_PROPERTY,
REPLYURL_PROPERTY,
REQUESTSTATUS_PROPERTY,
RESOURCES_PROPERTY,
RESPONSE_PROPERTY,
RESTRICTION_PROPERTY,
RRULE_PROPERTY,
SCOPE_PROPERTY,
SEQUENCE_PROPERTY,
SOURCE_PROPERTY,
STATUS_PROPERTY,
STORESEXPANDED_PROPERTY,
SUMMARY_PROPERTY,
TARGET_PROPERTY,
TASKMODE_PROPERTY,
TRANSP_PROPERTY,
TRIGGER_PROPERTY,
TZID_PROPERTY,
TZIDALIASOF_PROPERTY,
TZNAME_PROPERTY,
TZOFFSETFROM_PROPERTY,
TZOFFSETTO_PROPERTY,
TZUNTIL_PROPERTY,
TZURL_PROPERTY,
UID_PROPERTY,
URL_PROPERTY,
VERSION_PROPERTY,
VOTER_PROPERTY,
X_PROPERTY,
XLICCLASS_PROPERTY,
XLICCLUSTERCOUNT_PROPERTY,
XLICERROR_PROPERTY,
XLICMIMECHARSET_PROPERTY,
XLICMIMECID_PROPERTY,
XLICMIMECONTENTTYPE_PROPERTY,
XLICMIMEENCODING_PROPERTY,
XLICMIMEFILENAME_PROPERTY,
XLICMIMEOPTINFO_PROPERTY,
NO_PROPERTY,
}
export namespace property_method {
export const $gtype: GObject.GType;
}
enum property_method {
X,
PUBLISH,
REQUEST,
REPLY,
ADD,
CANCEL,
REFRESH,
COUNTER,
DECLINECOUNTER,
CREATE,
READ,
RESPONSE,
MOVE,
MODIFY,
GENERATEUID,
DELETE,
POLLSTATUS,
NONE,
}
export namespace property_pollcompletion {
export const $gtype: GObject.GType;
}
enum property_pollcompletion {
X,
SERVER,
SERVERSUBMIT,
SERVERCHOICE,
CLIENT,
NONE,
}
export namespace property_pollmode {
export const $gtype: GObject.GType;
}
enum property_pollmode {
X,
BASIC,
NONE,
}
export namespace property_querylevel {
export const $gtype: GObject.GType;
}
enum property_querylevel {
X,
CALQL1,
CALQLNONE,
NONE,
}
export namespace property_status {
export const $gtype: GObject.GType;
}
enum property_status {
X,
TENTATIVE,
CONFIRMED,
COMPLETED,
NEEDSACTION,
CANCELLED,
INPROCESS,
DRAFT,
FINAL,
SUBMITTED,
PENDING,
FAILED,
DELETED,
NONE,
}
export namespace property_taskmode {
export const $gtype: GObject.GType;
}
enum property_taskmode {
X,
AUTOMATICCOMPLETION,
AUTOMATICFAILURE,
AUTOMATICSTATUS,
NONE,
}
export namespace property_transp {
export const $gtype: GObject.GType;
}
enum property_transp {
X,
OPAQUE,
OPAQUENOCONFLICT,
TRANSPARENT,
TRANSPARENTNOCONFLICT,
NONE,
}
export namespace property_xlicclass {
export const $gtype: GObject.GType;
}
enum property_xlicclass {
X,
PUBLISHNEW,
PUBLISHUPDATE,
PUBLISHFREEBUSY,
REQUESTNEW,
REQUESTUPDATE,
REQUESTRESCHEDULE,
REQUESTDELEGATE,
REQUESTNEWORGANIZER,
REQUESTFORWARD,
REQUESTSTATUS,
REQUESTFREEBUSY,
REPLYACCEPT,
REPLYDECLINE,
REPLYDELEGATE,
REPLYCRASHERACCEPT,
REPLYCRASHERDECLINE,
ADDINSTANCE,
CANCELEVENT,
CANCELINSTANCE,
CANCELALL,
REFRESH,
COUNTER,
DECLINECOUNTER,
MALFORMED,
OBSOLETE,
MISSEQUENCED,
UNKNOWN,
NONE,
}
export namespace recurrencetype_frequency {
export const $gtype: GObject.GType;
}
enum recurrencetype_frequency {
SECONDLY_RECURRENCE,
MINUTELY_RECURRENCE,
HOURLY_RECURRENCE,
DAILY_RECURRENCE,
WEEKLY_RECURRENCE,
MONTHLY_RECURRENCE,
YEARLY_RECURRENCE,
NO_RECURRENCE,
}
export namespace recurrencetype_skip {
export const $gtype: GObject.GType;
}
enum recurrencetype_skip {
BACKWARD,
FORWARD,
OMIT,
UNDEFINED,
}
export namespace recurrencetype_weekday {
export const $gtype: GObject.GType;
}
enum recurrencetype_weekday {
NO_WEEKDAY,
SUNDAY_WEEKDAY,
MONDAY_WEEKDAY,
TUESDAY_WEEKDAY,
WEDNESDAY_WEEKDAY,
THURSDAY_WEEKDAY,
FRIDAY_WEEKDAY,
SATURDAY_WEEKDAY,
}
export namespace requeststatus {
export const $gtype: GObject.GType;
}
enum requeststatus {
UNKNOWN_STATUS,
'2_0_SUCCESS_STATUS',
'2_1_FALLBACK_STATUS',
'2_2_IGPROP_STATUS',
'2_3_IGPARAM_STATUS',
'2_4_IGXPROP_STATUS',
'2_5_IGXPARAM_STATUS',
'2_6_IGCOMP_STATUS',
'2_7_FORWARD_STATUS',
'2_8_ONEEVENT_STATUS',
'2_9_TRUNC_STATUS',
'2_10_ONETODO_STATUS',
'2_11_TRUNCRRULE_STATUS',
'3_0_INVPROPNAME_STATUS',
'3_1_INVPROPVAL_STATUS',
'3_2_INVPARAM_STATUS',
'3_3_INVPARAMVAL_STATUS',
'3_4_INVCOMP_STATUS',
'3_5_INVTIME_STATUS',
'3_6_INVRULE_STATUS',
'3_7_INVCU_STATUS',
'3_8_NOAUTH_STATUS',
'3_9_BADVERSION_STATUS',
'3_10_TOOBIG_STATUS',
'3_11_MISSREQCOMP_STATUS',
'3_12_UNKCOMP_STATUS',
'3_13_BADCOMP_STATUS',
'3_14_NOCAP_STATUS',
'3_15_INVCOMMAND',
'4_0_BUSY_STATUS',
'4_1_STORE_ACCESS_DENIED',
'4_2_STORE_FAILED',
'4_3_STORE_NOT_FOUND',
'5_0_MAYBE_STATUS',
'5_1_UNAVAIL_STATUS',
'5_2_NOSERVICE_STATUS',
'5_3_NOSCHED_STATUS',
'6_1_CONTAINER_NOT_FOUND',
'9_0_UNRECOGNIZED_COMMAND',
}
export namespace restriction_kind {
export const $gtype: GObject.GType;
}
enum restriction_kind {
NONE,
ZERO,
ONE,
ZEROPLUS,
ONEPLUS,
ZEROORONE,
ONEEXCLUSIVE,
ONEMUTUAL,
UNKNOWN,
}
export namespace value_kind {
export const $gtype: GObject.GType;
}
enum value_kind {
ANY_VALUE,
ACTION_VALUE,
ATTACH_VALUE,
BINARY_VALUE,
BOOLEAN_VALUE,
BUSYTYPE_VALUE,
CALADDRESS_VALUE,
CARLEVEL_VALUE,
CLASS_VALUE,
CMD_VALUE,
DATE_VALUE,
DATETIME_VALUE,
DATETIMEDATE_VALUE,
DATETIMEPERIOD_VALUE,
DURATION_VALUE,
FLOAT_VALUE,
GEO_VALUE,
INTEGER_VALUE,
METHOD_VALUE,
PERIOD_VALUE,
POLLCOMPLETION_VALUE,
POLLMODE_VALUE,
QUERY_VALUE,
QUERYLEVEL_VALUE,
RECUR_VALUE,
REQUESTSTATUS_VALUE,
STATUS_VALUE,
STRING_VALUE,
TASKMODE_VALUE,
TEXT_VALUE,
TRANSP_VALUE,
TRIGGER_VALUE,
URI_VALUE,
UTCOFFSET_VALUE,
X_VALUE,
XLICCLASS_VALUE,
NO_VALUE,
}
const BOOLEAN_FALSE: number;
const BOOLEAN_TRUE: number;
const BY_DAY_SIZE: number;
const BY_HOUR_SIZE: number;
const BY_MINUTE_SIZE: number;
const BY_MONTHDAY_SIZE: number;
const BY_MONTH_SIZE: number;
const BY_SECOND_SIZE: number;
const BY_WEEKNO_SIZE: number;
const BY_YEARDAY_SIZE: number;
const ERRORS_ARE_FATAL: number;
const ICALPARAMETER_FIRST_ENUM: number;
const ICALPARAMETER_LAST_ENUM: number;
const ICALPROPERTY_FIRST_ENUM: number;
const ICALPROPERTY_LAST_ENUM: number;
const MAJOR_VERSION: number;
const MINOR_VERSION: number;
const PACKAGE: string;
const PATCH_VERSION: number;
const VERSION: string;
const ZONES_TAB_SYSTEM_FILENAME: string;
/**
* }
* ```
*/
function bt(): void;
function decode_base64(dest: string, src: string, size: number): string;
function decode_quoted_printable(dest: string, src: string, size: number): string;
function free_zone_directory(): void;
function get_unknown_token_handling_setting(): _unknown_token_handling;
function get_zone_directory(): string;
function icalarray_append(array: array, element?: any | null): void;
function icalarray_element_at(array: array, position: number): any | null;
/**
* `par` Usage
* ```c
* // create new array
* icalarray *array = icalarray_new(sizeof(int), 1);
*
* // use array
* int a = 4;
* icalarray_append(array, &a);
* assert(*icalarray_element_at(array, 0) == a);
*
* // release memory
* icalarray_free(array);
* ```
* @param array
*/
function icalarray_free(array: array): void;
function icalarray_remove_element_at(array: array, position: number): void;
function icalarray_sort(array: array, compare?: any | null): void;
function icalattach_get_data(attach: attach): number;
function icalattach_get_is_url(attach: attach): number;
function icalattach_get_url(attach: attach): string;
function icalattach_ref(attach: attach): void;
function icalattach_unref(attach: attach): void;
function icalcomponent_add_component(parent: component, child: component): void;
function icalcomponent_add_property(component: component, property: property): void;
function icalcomponent_as_ical_string(component: component): string;
function icalcomponent_as_ical_string_r(component: component): string;
function icalcomponent_check_restrictions(comp: component): number;
function icalcomponent_convert_errors(component: component): void;
function icalcomponent_count_components(component: component, kind: component_kind | null): number;
function icalcomponent_count_errors(component: component): number;
function icalcomponent_count_properties(component: component, kind: property_kind | null): number;
function icalcomponent_foreach_recurrence(
comp: component,
start?: any | null,
end?: any | null,
callback?: any | null,
callback_data?: any | null,
): void;
function icalcomponent_foreach_tzid(comp: component, callback?: any | null, callback_data?: any | null): void;
function icalcomponent_free(component: component): void;
function icalcomponent_get_comment(comp: component): string;
function icalcomponent_get_description(comp: component): string;
function icalcomponent_get_dtend(comp: component): any | null;
function icalcomponent_get_dtstamp(comp: component): any | null;
function icalcomponent_get_dtstart(comp: component): any | null;
function icalcomponent_get_due(comp: component): any | null;
function icalcomponent_get_duration(comp: component): any | null;
function icalcomponent_get_location(comp: component): string;
function icalcomponent_get_method(comp: component): property_method;
function icalcomponent_get_recurrenceid(comp: component): any | null;
function icalcomponent_get_relcalid(comp: component): string;
function icalcomponent_get_sequence(comp: component): number;
function icalcomponent_get_span(comp: component): any | null;
function icalcomponent_get_status(comp: component): any | null;
function icalcomponent_get_summary(comp: component): string;
function icalcomponent_get_uid(comp: component): string;
function icalcomponent_is_valid(component: component): number;
function icalcomponent_isa(component: component): component_kind;
function icalcomponent_isa_component(component?: any | null): number;
function icalcomponent_kind_is_valid(kind: component_kind | null): number;
function icalcomponent_kind_to_string(kind: component_kind | null): string;
function icalcomponent_merge_component(comp: component, comp_to_merge: component): void;
function icalcomponent_normalize(comp: component): void;
function icalcomponent_remove_component(parent: component, child: component): void;
function icalcomponent_remove_property(component: component, property: property): void;
function icalcomponent_set_comment(comp: component, v: string): void;
function icalcomponent_set_description(comp: component, v: string): void;
function icalcomponent_set_dtend(comp: component, v?: any | null): void;
function icalcomponent_set_dtstamp(comp: component, v?: any | null): void;
function icalcomponent_set_dtstart(comp: component, v?: any | null): void;
function icalcomponent_set_due(comp: component, v?: any | null): void;
function icalcomponent_set_duration(comp: component, v?: any | null): void;
function icalcomponent_set_location(comp: component, v: string): void;
function icalcomponent_set_method(comp: component, method: property_method | null): void;
function icalcomponent_set_parent(component: component, parent: component): void;
function icalcomponent_set_recurrenceid(comp: component, v?: any | null): void;
function icalcomponent_set_relcalid(comp: component, v: string): void;
function icalcomponent_set_sequence(comp: component, v: number): void;
function icalcomponent_set_status(comp: component, v?: any | null): void;
function icalcomponent_set_summary(comp: component, v: string): void;
function icalcomponent_set_uid(comp: component, v: string): void;
function icalcomponent_string_to_kind(string: string): component_kind;
function icalcomponent_strip_errors(component: component): void;
function icaldurationtype_as_ical_string(d?: any | null): string;
function icaldurationtype_as_ical_string_r(d?: any | null): string;
function icaldurationtype_as_int(duration?: any | null): number;
function icaldurationtype_bad_duration(): any | null;
function icaldurationtype_from_int(t: number): any | null;
function icaldurationtype_from_string(dur: string): any | null;
function icaldurationtype_is_bad_duration(d?: any | null): number;
function icaldurationtype_is_null_duration(d?: any | null): number;
function icaldurationtype_null_duration(): any | null;
function icalenum_num_to_reqstat(major: number, minor: number): requeststatus;
function icalenum_reqstat_code(stat: requeststatus | null): string;
function icalenum_reqstat_code_r(stat: requeststatus | null): string;
function icalenum_reqstat_desc(stat: requeststatus | null): string;
function icalenum_reqstat_major(stat: requeststatus | null): number;
function icalenum_reqstat_minor(stat: requeststatus | null): number;
function icalerrno_return(): errorenum;
/**
* }
* ```
*/
function icalerror_clear_errno(): void;
function icalerror_crash_here(): void;
function icalerror_error_from_string(str: string): errorenum;
function icalerror_get_error_state(error: errorenum | null): errorstate;
function icalerror_get_errors_are_fatal(): number;
function icalerror_perror(): string;
function icalerror_restore(error: string, es: errorstate | null): void;
function icalerror_set_errno(x: errorenum | null): void;
function icalerror_set_error_state(error: errorenum | null, state: errorstate | null): void;
function icalerror_set_errors_are_fatal(fatal: number): void;
function icalerror_stop_here(): void;
function icalerror_strerror(e: errorenum | null): string;
function icalerror_supress(error: string): errorstate;
function icallangbind_access_array(array: number, index: number): number;
function icallangbind_free_array(array: number): void;
function icallangbind_new_array(size: number): number;
function icallangbind_property_eval_string(prop: property, sep: string): string;
function icallangbind_property_eval_string_r(prop: property, sep: string): string;
function icallangbind_quote_as_ical(str: string): string;
function icallangbind_quote_as_ical_r(str: string): string;
function icallangbind_string_to_open_flag(str: string): number;
function icalmemory_add_tmp_buffer(buf?: any | null): void;
function icalmemory_append_char(buf: string, pos: string, buf_size: number, ch: number): void;
function icalmemory_append_string(buf: string, pos: string, buf_size: number, string: string): void;
function icalmemory_free_buffer(buf?: any | null): void;
/**
* ```
*/
function icalmemory_free_ring(): void;
function icalmemory_new_buffer(size: number): any | null;
function icalmemory_resize_buffer(buf: any | null, size: number): any | null;
function icalmemory_strdup(s: string): string;
function icalmemory_tmp_buffer(size: number): any | null;
function icalmemory_tmp_copy(str: string): string;
/**
* `par` Usage
* ```c
* icalparameter *param = icalparameter_new_from_string("ROLE=CHAIR");
*
* if(param) {
* char *str = icalparameter_as_ical_string(param);
* printf("%s\n", str);
* free(str);
* }
*
* icalparameter_free(param);
* ```
* @param parameter
*/
function icalparameter_as_ical_string(parameter: parameter): string;
function icalparameter_as_ical_string_r(parameter: parameter): string;
function icalparameter_enum_to_string(e: number): string;
function icalparameter_free(parameter: parameter): void;
function icalparameter_get_actionparam(value: parameter): parameter_action;
function icalparameter_get_altrep(value: parameter): string;
function icalparameter_get_charset(value: parameter): string;
function icalparameter_get_cn(value: parameter): string;
function icalparameter_get_cutype(value: parameter): parameter_cutype;
function icalparameter_get_delegatedfrom(value: parameter): string;
function icalparameter_get_delegatedto(value: parameter): string;
function icalparameter_get_dir(value: parameter): string;
function icalparameter_get_display(value: parameter): parameter_display;
function icalparameter_get_email(value: parameter): string;
function icalparameter_get_enable(value: parameter): parameter_enable;
function icalparameter_get_encoding(value: parameter): parameter_encoding;
function icalparameter_get_fbtype(value: parameter): parameter_fbtype;
function icalparameter_get_feature(value: parameter): parameter_feature;
function icalparameter_get_filename(value: parameter): string;
function icalparameter_get_fmttype(value: parameter): string;
function icalparameter_get_iana(value: parameter): string;
function icalparameter_get_iana_name(param: parameter): string;
function icalparameter_get_iana_value(param: parameter): string;
function icalparameter_get_id(value: parameter): string;
function icalparameter_get_label(value: parameter): string;
function icalparameter_get_language(value: parameter): string;
function icalparameter_get_latency(value: parameter): string;
function icalparameter_get_local(value: parameter): parameter_local;
function icalparameter_get_localize(value: parameter): string;
function icalparameter_get_managedid(value: parameter): string;
function icalparameter_get_member(value: parameter): string;
function icalparameter_get_modified(value: parameter): string;
function icalparameter_get_options(value: parameter): string;
function icalparameter_get_partstat(value: parameter): parameter_partstat;
function icalparameter_get_patchaction(value: parameter): parameter_patchaction;
function icalparameter_get_publiccomment(value: parameter): string;
function icalparameter_get_range(value: parameter): parameter_range;
function icalparameter_get_reason(value: parameter): string;
function icalparameter_get_related(value: parameter): parameter_related;
function icalparameter_get_reltype(value: parameter): parameter_reltype;
function icalparameter_get_required(value: parameter): parameter_required;
function icalparameter_get_response(value: parameter): number;
function icalparameter_get_role(value: parameter): parameter_role;
function icalparameter_get_rsvp(value: parameter): parameter_rsvp;
function icalparameter_get_scheduleagent(value: parameter): parameter_scheduleagent;
function icalparameter_get_scheduleforcesend(value: parameter): parameter_scheduleforcesend;
function icalparameter_get_schedulestatus(value: parameter): string;
function icalparameter_get_sentby(value: parameter): string;
function icalparameter_get_size(value: parameter): string;
function icalparameter_get_stayinformed(value: parameter): parameter_stayinformed;
function icalparameter_get_substate(value: parameter): parameter_substate;
function icalparameter_get_tzid(value: parameter): string;
function icalparameter_get_value(value: parameter): parameter_value;
function icalparameter_get_x(value: parameter): string;
function icalparameter_get_xliccomparetype(value: parameter): parameter_xliccomparetype;
function icalparameter_get_xlicerrortype(value: parameter): parameter_xlicerrortype;
function icalparameter_get_xname(param: parameter): string;
function icalparameter_get_xvalue(param: parameter): string;
function icalparameter_has_same_name(param1: parameter, param2: parameter): number;
function icalparameter_isa(parameter: parameter): parameter_kind;
function icalparameter_isa_parameter(param?: any | null): number;
function icalparameter_kind_is_valid(kind: parameter_kind | null): number;
function icalparameter_kind_to_string(kind: parameter_kind | null): string;
function icalparameter_set_actionparam(value: parameter, v: parameter_action | null): void;
function icalparameter_set_altrep(value: parameter, v: string): void;
function icalparameter_set_charset(value: parameter, v: string): void;
function icalparameter_set_cn(value: parameter, v: string): void;
function icalparameter_set_cutype(value: parameter, v: parameter_cutype | null): void;
function icalparameter_set_delegatedfrom(value: parameter, v: string): void;
function icalparameter_set_delegatedto(value: parameter, v: string): void;
function icalparameter_set_dir(value: parameter, v: string): void;
function icalparameter_set_display(value: parameter, v: parameter_display | null): void;
function icalparameter_set_email(value: parameter, v: string): void;
function icalparameter_set_enable(value: parameter, v: parameter_enable | null): void;
function icalparameter_set_encoding(value: parameter, v: parameter_encoding | null): void;
function icalparameter_set_fbtype(value: parameter, v: parameter_fbtype | null): void;
function icalparameter_set_feature(value: parameter, v: parameter_feature | null): void;
function icalparameter_set_filename(value: parameter, v: string): void;
function icalparameter_set_fmttype(value: parameter, v: string): void;
function icalparameter_set_iana(value: parameter, v: string): void;
function icalparameter_set_iana_name(param: parameter, v: string): void;
function icalparameter_set_iana_value(param: parameter, v: string): void;
function icalparameter_set_id(value: parameter, v: string): void;
function icalparameter_set_label(value: parameter, v: string): void;
function icalparameter_set_language(value: parameter, v: string): void;
function icalparameter_set_latency(value: parameter, v: string): void;
function icalparameter_set_local(value: parameter, v: parameter_local | null): void;
function icalparameter_set_localize(value: parameter, v: string): void;
function icalparameter_set_managedid(value: parameter, v: string): void;
function icalparameter_set_member(value: parameter, v: string): void;
function icalparameter_set_modified(value: parameter, v: string): void;
function icalparameter_set_options(value: parameter, v: string): void;
function icalparameter_set_parent(param: parameter, property: property): void;
function icalparameter_set_partstat(value: parameter, v: parameter_partstat | null): void;
function icalparameter_set_patchaction(value: parameter, v: parameter_patchaction | null): void;
function icalparameter_set_publiccomment(value: parameter, v: string): void;
function icalparameter_set_range(value: parameter, v: parameter_range | null): void;
function icalparameter_set_reason(value: parameter, v: string): void;
function icalparameter_set_related(value: parameter, v: parameter_related | null): void;
function icalparameter_set_reltype(value: parameter, v: parameter_reltype | null): void;
function icalparameter_set_required(value: parameter, v: parameter_required | null): void;
function icalparameter_set_response(value: parameter, v: number): void;
function icalparameter_set_role(value: parameter, v: parameter_role | null): void;
function icalparameter_set_rsvp(value: parameter, v: parameter_rsvp | null): void;
function icalparameter_set_scheduleagent(value: parameter, v: parameter_scheduleagent | null): void;
function icalparameter_set_scheduleforcesend(value: parameter, v: parameter_scheduleforcesend | null): void;
function icalparameter_set_schedulestatus(value: parameter, v: string): void;
function icalparameter_set_sentby(value: parameter, v: string): void;
function icalparameter_set_size(value: parameter, v: string): void;
function icalparameter_set_stayinformed(value: parameter, v: parameter_stayinformed | null): void;
function icalparameter_set_substate(value: parameter, v: parameter_substate | null): void;
function icalparameter_set_tzid(value: parameter, v: string): void;
function icalparameter_set_value(value: parameter, v: parameter_value | null): void;
function icalparameter_set_x(value: parameter, v: string): void;
function icalparameter_set_xliccomparetype(value: parameter, v: parameter_xliccomparetype | null): void;
function icalparameter_set_xlicerrortype(value: parameter, v: parameter_xlicerrortype | null): void;
function icalparameter_set_xname(param: parameter, v: string): void;
function icalparameter_set_xvalue(param: parameter, v: string): void;
function icalparameter_string_to_enum(str: string): number;
function icalparameter_string_to_kind(string: string): parameter_kind;
function icalparameter_value_to_value_kind(value: parameter_value | null): value_kind;
function icalparser_free(parser: parser): void;
function icalparser_get_ctrl(): any | null;
function icalparser_get_state(parser: parser): parser_state;
function icalparser_set_ctrl(ctrl?: any | null): void;
function icalparser_set_gen_data(parser: parser, data?: any | null): void;
function icalparser_string_line_generator(out: string, buf_size: number, d?: any | null): string;
function icalperiodtype_as_ical_string(p?: any | null): string;
function icalperiodtype_as_ical_string_r(p?: any | null): string;
function icalperiodtype_from_string(str: string): any | null;
function icalperiodtype_is_null_period(p?: any | null): number;
function icalperiodtype_is_valid_period(p?: any | null): number;
function icalperiodtype_null_period(): any | null;
function icalproperty_add_parameter(prop: property, parameter: parameter): void;
function icalproperty_as_ical_string(prop: property): string;
function icalproperty_as_ical_string_r(prop: property): string;
function icalproperty_count_parameters(prop: property): number;
function icalproperty_enum_belongs_to_property(kind: property_kind | null, e: number): number;
function icalproperty_enum_to_string(e: number): string;
function icalproperty_enum_to_string_r(e: number): string;
function icalproperty_free(prop: property): void;
function icalproperty_get_acceptresponse(prop: property): string;
function icalproperty_get_acknowledged(prop: property): any | null;
function icalproperty_get_action(prop: property): any | null;
function icalproperty_get_allowconflict(prop: property): string;
function icalproperty_get_attendee(prop: property): string;
function icalproperty_get_busytype(prop: property): any | null;
function icalproperty_get_calid(prop: property): string;
function icalproperty_get_calmaster(prop: property): string;
function icalproperty_get_calscale(prop: property): string;
function icalproperty_get_capversion(prop: property): string;
function icalproperty_get_carid(prop: property): string;
function icalproperty_get_carlevel(prop: property): any | null;
function icalproperty_get_categories(prop: property): string;
function icalproperty_get_class(prop: property): any | null;
function icalproperty_get_cmd(prop: property): any | null;
function icalproperty_get_color(prop: property): string;
function icalproperty_get_comment(prop: property): string;
function icalproperty_get_completed(prop: property): any | null;
function icalproperty_get_components(prop: property): string;
function icalproperty_get_conference(prop: property): string;
function icalproperty_get_contact(prop: property): string;
function icalproperty_get_created(prop: property): any | null;
function icalproperty_get_csid(prop: property): string;
function icalproperty_get_datemax(prop: property): any | null;
function icalproperty_get_datemin(prop: property): any | null;
function icalproperty_get_datetime_with_component(prop: property, comp: component): any | null;
function icalproperty_get_decreed(prop: property): string;
function icalproperty_get_defaultcharset(prop: property): string;
function icalproperty_get_defaultlocale(prop: property): string;
function icalproperty_get_defaulttzid(prop: property): string;
function icalproperty_get_defaultvcars(prop: property): string;
function icalproperty_get_deny(prop: property): string;
function icalproperty_get_description(prop: property): string;
function icalproperty_get_dtend(prop: property): any | null;
function icalproperty_get_dtstamp(prop: property): any | null;
function icalproperty_get_dtstart(prop: property): any | null;
function icalproperty_get_due(prop: property): any | null;
function icalproperty_get_duration(prop: property): any | null;
function icalproperty_get_estimatedduration(prop: property): any | null;
function icalproperty_get_exdate(prop: property): any | null;
function icalproperty_get_expand(prop: property): number;
function icalproperty_get_exrule(prop: property): any | null;
function icalproperty_get_freebusy(prop: property): any | null;
function icalproperty_get_geo(prop: property): any | null;
function icalproperty_get_grant(prop: property): string;
function icalproperty_get_itipversion(prop: property): string;
function icalproperty_get_lastmodified(prop: property): any | null;
function icalproperty_get_location(prop: property): string;
function icalproperty_get_maxcomponentsize(prop: property): number;
function icalproperty_get_maxdate(prop: property): any | null;
function icalproperty_get_maxresults(prop: property): number;
function icalproperty_get_maxresultssize(prop: property): number;
function icalproperty_get_method(prop: property): any | null;
function icalproperty_get_mindate(prop: property): any | null;
function icalproperty_get_multipart(prop: property): string;
function icalproperty_get_name(prop: property): string;
function icalproperty_get_organizer(prop: property): string;
function icalproperty_get_owner(prop: property): string;
function icalproperty_get_parameter_as_string(prop: property, name: string): string;
function icalproperty_get_parameter_as_string_r(prop: property, name: string): string;
function icalproperty_get_patchdelete(prop: property): string;
function icalproperty_get_patchorder(prop: property): number;
function icalproperty_get_patchparameter(prop: property): string;
function icalproperty_get_patchtarget(prop: property): string;
function icalproperty_get_patchversion(prop: property): string;
function icalproperty_get_percentcomplete(prop: property): number;
function icalproperty_get_permission(prop: property): string;
function icalproperty_get_pollcompletion(prop: property): any | null;
function icalproperty_get_pollitemid(prop: property): number;
function icalproperty_get_pollmode(prop: property): any | null;
function icalproperty_get_pollproperties(prop: property): string;
function icalproperty_get_pollwinner(prop: property): number;
function icalproperty_get_priority(prop: property): number;
function icalproperty_get_prodid(prop: property): string;
function icalproperty_get_property_name(prop: property): string;
function icalproperty_get_property_name_r(prop: property): string;
function icalproperty_get_query(prop: property): string;
function icalproperty_get_queryid(prop: property): string;
function icalproperty_get_querylevel(prop: property): any | null;
function icalproperty_get_queryname(prop: property): string;
function icalproperty_get_rdate(prop: property): any | null;
function icalproperty_get_recuraccepted(prop: property): string;
function icalproperty_get_recurexpand(prop: property): string;
function icalproperty_get_recurlimit(prop: property): string;
function icalproperty_get_recurrenceid(prop: property): any | null;
function icalproperty_get_refreshinterval(prop: property): any | null;
function icalproperty_get_relatedto(prop: property): string;
function icalproperty_get_relcalid(prop: property): string;
function icalproperty_get_repeat(prop: property): number;
function icalproperty_get_replyurl(prop: property): string;
function icalproperty_get_requeststatus(prop: property): any | null;
function icalproperty_get_resources(prop: property): string;
function icalproperty_get_response(prop: property): number;
function icalproperty_get_restriction(prop: property): string;
function icalproperty_get_rrule(prop: property): any | null;
function icalproperty_get_scope(prop: property): string;
function icalproperty_get_sequence(prop: property): number;
function icalproperty_get_source(prop: property): string;
function icalproperty_get_status(prop: property): any | null;
function icalproperty_get_storesexpanded(prop: property): string;
function icalproperty_get_summary(prop: property): string;
function icalproperty_get_target(prop: property): string;
function icalproperty_get_taskmode(prop: property): any | null;
function icalproperty_get_transp(prop: property): any | null;
function icalproperty_get_trigger(prop: property): any | null;
function icalproperty_get_tzid(prop: property): string;
function icalproperty_get_tzidaliasof(prop: property): string;
function icalproperty_get_tzname(prop: property): string;
function icalproperty_get_tzoffsetfrom(prop: property): number;
function icalproperty_get_tzoffsetto(prop: property): number;
function icalproperty_get_tzuntil(prop: property): any | null;
function icalproperty_get_tzurl(prop: property): string;
function icalproperty_get_uid(prop: property): string;
function icalproperty_get_url(prop: property): string;
function icalproperty_get_value_as_string(prop: property): string;
function icalproperty_get_value_as_string_r(prop: property): string;
function icalproperty_get_version(prop: property): string;
function icalproperty_get_voter(prop: property): string;
function icalproperty_get_x(prop: property): string;
function icalproperty_get_x_name(prop: property): string;
function icalproperty_get_xlicclass(prop: property): any | null;
function icalproperty_get_xlicclustercount(prop: property): string;
function icalproperty_get_xlicerror(prop: property): string;
function icalproperty_get_xlicmimecharset(prop: property): string;
function icalproperty_get_xlicmimecid(prop: property): string;
function icalproperty_get_xlicmimecontenttype(prop: property): string;
function icalproperty_get_xlicmimeencoding(prop: property): string;
function icalproperty_get_xlicmimefilename(prop: property): string;
function icalproperty_get_xlicmimeoptinfo(prop: property): string;
function icalproperty_isa(property: property): property_kind;
function icalproperty_isa_property(property?: any | null): number;
function icalproperty_kind_and_string_to_enum(kind: number, str: string): number;
function icalproperty_kind_is_valid(kind: property_kind | null): number;
function icalproperty_kind_to_string(kind: property_kind | null): string;
function icalproperty_kind_to_value_kind(kind: property_kind | null): value_kind;
function icalproperty_method_to_string(method: property_method | null): string;
function icalproperty_normalize(prop: property): void;
function icalproperty_recurrence_is_excluded(
comp: component,
dtstart?: any | null,
recurtime?: any | null,
): number;
function icalproperty_remove_parameter_by_kind(prop: property, kind: parameter_kind | null): void;
function icalproperty_remove_parameter_by_name(prop: property, name: string): void;
/**
* parameters
* @param prop
* @param param
*/
function icalproperty_remove_parameter_by_ref(prop: property, param: parameter): void;
function icalproperty_set_acceptresponse(prop: property, v: string): void;
function icalproperty_set_acknowledged(prop: property, v?: any | null): void;
function icalproperty_set_action(prop: property, v?: any | null): void;
function icalproperty_set_allowconflict(prop: property, v: string): void;
function icalproperty_set_attach(prop: property, v: attach): void;
function icalproperty_set_attendee(prop: property, v: string): void;
function icalproperty_set_busytype(prop: property, v?: any | null): void;
function icalproperty_set_calid(prop: property, v: string): void;
function icalproperty_set_calmaster(prop: property, v: string): void;
function icalproperty_set_calscale(prop: property, v: string): void;
function icalproperty_set_capversion(prop: property, v: string): void;
function icalproperty_set_carid(prop: property, v: string): void;
function icalproperty_set_carlevel(prop: property, v?: any | null): void;
function icalproperty_set_categories(prop: property, v: string): void;
function icalproperty_set_class(prop: property, v?: any | null): void;
function icalproperty_set_cmd(prop: property, v?: any | null): void;
function icalproperty_set_color(prop: property, v: string): void;
function icalproperty_set_comment(prop: property, v: string): void;
function icalproperty_set_completed(prop: property, v?: any | null): void;
function icalproperty_set_components(prop: property, v: string): void;
function icalproperty_set_conference(prop: property, v: string): void;
function icalproperty_set_contact(prop: property, v: string): void;
function icalproperty_set_created(prop: property, v?: any | null): void;
function icalproperty_set_csid(prop: property, v: string): void;
function icalproperty_set_datemax(prop: property, v?: any | null): void;
function icalproperty_set_datemin(prop: property, v?: any | null): void;
function icalproperty_set_decreed(prop: property, v: string): void;
function icalproperty_set_defaultcharset(prop: property, v: string): void;
function icalproperty_set_defaultlocale(prop: property, v: string): void;
function icalproperty_set_defaulttzid(prop: property, v: string): void;
function icalproperty_set_defaultvcars(prop: property, v: string): void;
function icalproperty_set_deny(prop: property, v: string): void;
function icalproperty_set_description(prop: property, v: string): void;
function icalproperty_set_dtend(prop: property, v?: any | null): void;
function icalproperty_set_dtstamp(prop: property, v?: any | null): void;
function icalproperty_set_dtstart(prop: property, v?: any | null): void;
function icalproperty_set_due(prop: property, v?: any | null): void;
function icalproperty_set_duration(prop: property, v?: any | null): void;
function icalproperty_set_estimatedduration(prop: property, v?: any | null): void;
function icalproperty_set_exdate(prop: property, v?: any | null): void;
function icalproperty_set_expand(prop: property, v: number): void;
function icalproperty_set_exrule(prop: property, v?: any | null): void;
function icalproperty_set_freebusy(prop: property, v?: any | null): void;
function icalproperty_set_geo(prop: property, v?: any | null): void;
function icalproperty_set_grant(prop: property, v: string): void;
function icalproperty_set_image(prop: property, v: attach): void;
function icalproperty_set_itipversion(prop: property, v: string): void;
function icalproperty_set_lastmodified(prop: property, v?: any | null): void;
function icalproperty_set_location(prop: property, v: string): void;
function icalproperty_set_maxcomponentsize(prop: property, v: number): void;
function icalproperty_set_maxdate(prop: property, v?: any | null): void;
function icalproperty_set_maxresults(prop: property, v: number): void;
function icalproperty_set_maxresultssize(prop: property, v: number): void;
function icalproperty_set_method(prop: property, v?: any | null): void;
function icalproperty_set_mindate(prop: property, v?: any | null): void;
function icalproperty_set_multipart(prop: property, v: string): void;
function icalproperty_set_name(prop: property, v: string): void;
function icalproperty_set_organizer(prop: property, v: string): void;
function icalproperty_set_owner(prop: property, v: string): void;
function icalproperty_set_parameter(prop: property, parameter: parameter): void;
function icalproperty_set_parameter_from_string(prop: property, name: string, value: string): void;
function icalproperty_set_parent(property: property, component: component): void;
function icalproperty_set_patchdelete(prop: property, v: string): void;
function icalproperty_set_patchorder(prop: property, v: number): void;
function icalproperty_set_patchparameter(prop: property, v: string): void;
function icalproperty_set_patchtarget(prop: property, v: string): void;
function icalproperty_set_patchversion(prop: property, v: string): void;
function icalproperty_set_percentcomplete(prop: property, v: number): void;
function icalproperty_set_permission(prop: property, v: string): void;
function icalproperty_set_pollcompletion(prop: property, v?: any | null): void;
function icalproperty_set_pollitemid(prop: property, v: number): void;
function icalproperty_set_pollmode(prop: property, v?: any | null): void;
function icalproperty_set_pollproperties(prop: property, v: string): void;
function icalproperty_set_pollwinner(prop: property, v: number): void;
function icalproperty_set_priority(prop: property, v: number): void;
function icalproperty_set_prodid(prop: property, v: string): void;
function icalproperty_set_query(prop: property, v: string): void;
function icalproperty_set_queryid(prop: property, v: string): void;
function icalproperty_set_querylevel(prop: property, v?: any | null): void;
function icalproperty_set_queryname(prop: property, v: string): void;
function icalproperty_set_rdate(prop: property, v?: any | null): void;
function icalproperty_set_recuraccepted(prop: property, v: string): void;
function icalproperty_set_recurexpand(prop: property, v: string): void;
function icalproperty_set_recurlimit(prop: property, v: string): void;
function icalproperty_set_recurrenceid(prop: property, v?: any | null): void;
function icalproperty_set_refreshinterval(prop: property, v?: any | null): void;
function icalproperty_set_relatedto(prop: property, v: string): void;
function icalproperty_set_relcalid(prop: property, v: string): void;
function icalproperty_set_repeat(prop: property, v: number): void;
function icalproperty_set_replyurl(prop: property, v: string): void;
function icalproperty_set_requeststatus(prop: property, v?: any | null): void;
function icalproperty_set_resources(prop: property, v: string): void;
function icalproperty_set_response(prop: property, v: number): void;
function icalproperty_set_restriction(prop: property, v: string): void;
function icalproperty_set_rrule(prop: property, v?: any | null): void;
function icalproperty_set_scope(prop: property, v: string): void;
function icalproperty_set_sequence(prop: property, v: number): void;
function icalproperty_set_source(prop: property, v: string): void;
function icalproperty_set_status(prop: property, v?: any | null): void;
function icalproperty_set_storesexpanded(prop: property, v: string): void;
function icalproperty_set_summary(prop: property, v: string): void;
function icalproperty_set_target(prop: property, v: string): void;
function icalproperty_set_taskmode(prop: property, v?: any | null): void;
function icalproperty_set_transp(prop: property, v?: any | null): void;
function icalproperty_set_trigger(prop: property, v?: any | null): void;
function icalproperty_set_tzid(prop: property, v: string): void;
function icalproperty_set_tzidaliasof(prop: property, v: string): void;
function icalproperty_set_tzname(prop: property, v: string): void;
function icalproperty_set_tzoffsetfrom(prop: property, v: number): void;
function icalproperty_set_tzoffsetto(prop: property, v: number): void;
function icalproperty_set_tzuntil(prop: property, v?: any | null): void;
function icalproperty_set_tzurl(prop: property, v: string): void;
function icalproperty_set_uid(prop: property, v: string): void;
function icalproperty_set_url(prop: property, v: string): void;
function icalproperty_set_value(prop: property, value: value): void;
function icalproperty_set_value_from_string(prop: property, value: string, kind: string): void;
function icalproperty_set_version(prop: property, v: string): void;
function icalproperty_set_voter(prop: property, v: string): void;
function icalproperty_set_x(prop: property, v: string): void;
function icalproperty_set_x_name(prop: property, name: string): void;
function icalproperty_set_xlicclass(prop: property, v?: any | null): void;
function icalproperty_set_xlicclustercount(prop: property, v: string): void;
function icalproperty_set_xlicerror(prop: property, v: string): void;
function icalproperty_set_xlicmimecharset(prop: property, v: string): void;
function icalproperty_set_xlicmimecid(prop: property, v: string): void;
function icalproperty_set_xlicmimecontenttype(prop: property, v: string): void;
function icalproperty_set_xlicmimeencoding(prop: property, v: string): void;
function icalproperty_set_xlicmimefilename(prop: property, v: string): void;
function icalproperty_set_xlicmimeoptinfo(prop: property, v: string): void;
function icalproperty_status_to_string(arg0: property_status | null): string;
function icalproperty_string_to_kind(string: string): property_kind;
function icalproperty_string_to_method(str: string): property_method;
function icalproperty_string_to_status(string: string): property_status;
function icalproperty_value_kind_to_kind(kind: value_kind | null): property_kind;
function icalrecur_expand_recurrence(rule: string, start: never, count: number, array: never): number;
function icalrecur_freq_to_string(kind: recurrencetype_frequency | null): string;
function icalrecur_iterator_free(arg0: recur_iterator): void;
function icalrecur_iterator_next(arg0: recur_iterator): any | null;
function icalrecur_iterator_set_start(impl: recur_iterator, start?: any | null): number;
function icalrecur_skip_to_string(kind: recurrencetype_skip | null): string;
function icalrecur_string_to_freq(str: string): recurrencetype_frequency;
function icalrecur_string_to_skip(str: string): recurrencetype_skip;
function icalrecur_string_to_weekday(str: string): recurrencetype_weekday;
function icalrecur_weekday_to_string(kind: recurrencetype_weekday | null): string;
function icalrecurrencetype_as_string(recur?: any | null): string;
function icalrecurrencetype_as_string_r(recur?: any | null): string;
function icalrecurrencetype_clear(r?: any | null): void;
function icalrecurrencetype_day_day_of_week(day: number): any | null;
function icalrecurrencetype_day_position(day: number): number;
function icalrecurrencetype_from_string(str: string): any | null;
function icalrecurrencetype_month_is_leap(month: number): number;
function icalrecurrencetype_month_month(month: number): number;
function icalrecurrencetype_rscale_is_supported(): number;
function icalreqstattype_as_string(arg0?: any | null): string;
function icalreqstattype_as_string_r(arg0?: any | null): string;
function icalreqstattype_from_string(str: string): any | null;
function icalrestriction_check(comp: component): number;
function icalrestriction_compare(restr: restriction_kind | null, count: number): number;
function icaltime_add(t?: any | null, d?: any | null): any | null;
function icaltime_adjust(tt: any | null, days: number, hours: number, minutes: number, seconds: number): void;
function icaltime_as_ical_string(tt?: any | null): string;
function icaltime_as_ical_string_r(tt?: any | null): string;
function icaltime_as_timet(arg0?: any | null): never;
function icaltime_as_timet_with_zone(tt: any | null, zone: timezone): never;
function icaltime_compare(a?: any | null, b?: any | null): number;
function icaltime_compare_date_only(a?: any | null, b?: any | null): number;
function icaltime_compare_date_only_tz(a: any | null, b: any | null, tz: timezone): number;
/**
* There are several ways to create a new icaltimetype:
*
* - icaltime_null_time()
* - icaltime_null_date()
* - icaltime_current_time_with_zone()
* - icaltime_today()
* - icaltime_from_timet_with_zone(time_t tm, int is_date,
* icaltimezone *zone)
* - icaltime_from_day_of_year(int doy, int year)
*
* italtimetype objects can be converted to different formats:
*
* - icaltime_as_timet(struct icaltimetype tt)
* - icaltime_as_timet_with_zone(struct icaltimetype tt,
* icaltimezone *zone)
* - icaltime_as_ical_string(struct icaltimetype tt)
*
* Accessor methods include:
*
* - icaltime_get_timezone(struct icaltimetype t)
* - icaltime_get_tzid(struct icaltimetype t)
* - icaltime_set_timezone(struct icaltimetype t, const icaltimezone *zone)
* - icaltime_day_of_year(struct icaltimetype t)
* - icaltime_day_of_week(struct icaltimetype t)
* - icaltime_start_doy_week(struct icaltimetype t, int fdow)
* - icaltime_week_number(struct icaltimetype t)
*
* Query methods include:
*
* - icaltime_is_null_time(struct icaltimetype t)
* - icaltime_is_valid_time(struct icaltimetype t)
* - icaltime_is_date(struct icaltimetype t)
* - icaltime_is_utc(struct icaltimetype t)
*
* Modify, compare and utility methods include:
*
* - icaltime_compare(struct icaltimetype a,struct icaltimetype b)
* - icaltime_compare_date_only(struct icaltimetype a,
* struct icaltimetype b)
* - icaltime_adjust(struct icaltimetype *tt, int days, int hours,
* int minutes, int seconds);
* - icaltime_normalize(struct icaltimetype t);
* - icaltime_convert_to_zone(const struct icaltimetype tt,
* icaltimezone *zone);
* @param tt
* @param zone
*/
function icaltime_convert_to_zone(tt: any | null, zone: timezone): any | null;
function icaltime_current_time_with_zone(zone: timezone): any | null;
function icaltime_day_of_week(t?: any | null): number;
function icaltime_day_of_year(t?: any | null): number;
function icaltime_days_in_month(month: number, year: number): number;
function icaltime_days_in_year(year: number): number;
function icaltime_from_day_of_year(doy: number, year: number): any | null;
/**
* is the same as that used by icaldurationtype_from_string().
* `par` Usage
* ```c
* // create icalperiodtype
* const char *period_string = "20170606T090000/20170607T090000";
* struct icalperiodtype period = icalperiodtype_from_string(period_string);
*
* // print period in iCal format
* printf("%s\n", icalperiodtype_as_ical_string(period));
* ```
* @param str
*/
function icaltime_from_string(str: string): any | null;
function icaltime_from_timet_with_zone(tm: never, is_date: number, zone: timezone): any | null;
function icaltime_get_timezone(t?: any | null): timezone;
function icaltime_get_tzid(t?: any | null): string;
function icaltime_is_date(t?: any | null): number;
function icaltime_is_leap_year(year: number): number;
function icaltime_is_null_time(t?: any | null): number;
function icaltime_is_utc(t?: any | null): number;
function icaltime_is_valid_time(t?: any | null): number;
function icaltime_normalize(tt?: any | null): any | null;
function icaltime_null_date(): any | null;
function icaltime_null_time(): any | null;
function icaltime_set_timezone(t: any | null, zone: timezone): any | null;
function icaltime_span_contains(s: time_span, container: time_span): number;
function icaltime_span_new(dtstart: any | null, dtend: any | null, is_busy: number): any | null;
function icaltime_span_overlaps(s1: time_span, s2: time_span): number;
function icaltime_start_doy_week(t: any | null, fdow: number): number;
function icaltime_subtract(t1?: any | null, t2?: any | null): any | null;
function icaltime_today(): any | null;
function icaltime_week_number(t?: any | null): number;
function icaltimezone_array_append_from_vtimezone(timezones: array, child: component): void;
function icaltimezone_array_free(timezones: array): void;
function icaltimezone_convert_time(tt: any | null, from_zone: timezone, to_zone: timezone): void;
function icaltimezone_dump_changes(zone: timezone, max_year: number, fp?: any | null): number;
function icaltimezone_expand_vtimezone(comp: component, end_year: number, changes: array): void;
function icaltimezone_free(zone: timezone, free_struct: number): void;
function icaltimezone_free_builtin_timezones(): void;
function icaltimezone_get_builtin_tzdata(): number;
function icaltimezone_get_display_name(zone: timezone): string;
function icaltimezone_get_latitude(zone: timezone): number;
function icaltimezone_get_location(zone: timezone): string;
function icaltimezone_get_location_from_vtimezone(component: component): string;
function icaltimezone_get_longitude(zone: timezone): number;
function icaltimezone_get_tzid(zone: timezone): string;
function icaltimezone_get_tznames(zone: timezone): string;
function icaltimezone_get_tznames_from_vtimezone(component: component): string;
function icaltimezone_get_utc_offset(zone: timezone, tt: any | null, is_daylight: number): number;
function icaltimezone_get_utc_offset_of_utc_time(zone: timezone, tt: any | null, is_daylight: number): number;
function icaltimezone_release_zone_tab(): void;
function icaltimezone_set_builtin_tzdata(set: number): void;
function icaltimezone_set_component(zone: timezone, comp: component): number;
function icaltimezone_set_tzid_prefix(new_prefix: string): void;
function icaltimezone_truncate_vtimezone(
vtz: component,
start: timetype,
end: timetype,
ms_compatible: number,
): void;
function icaltimezone_tzid_prefix(): string;
function icaltriggertype_from_int(reltime: number): any | null;
function icaltriggertype_from_string(str: string): any | null;
function icaltriggertype_is_bad_trigger(tr?: any | null): number;
function icaltriggertype_is_null_trigger(tr?: any | null): number;
function icaltzutil_get_zone_directory(): string;
function icalvalue_as_ical_string(value: value): string;
function icalvalue_as_ical_string_r(value: value): string;
function icalvalue_compare(a: value, b: value): parameter_xliccomparetype;
function icalvalue_decode_ical_string(szText: string, szDecText: string, nMaxBufferLen: number): number;
function icalvalue_encode_ical_string(szText: string, szEncText: string, MaxBufferLen: number): number;
function icalvalue_free(value: value): void;
function icalvalue_get_action(value: value): any | null;
function icalvalue_get_binary(value: value): string;
function icalvalue_get_boolean(value: value): number;
function icalvalue_get_busytype(value: value): any | null;
function icalvalue_get_caladdress(value: value): string;
function icalvalue_get_carlevel(value: value): any | null;
function icalvalue_get_class(value: value): any | null;
function icalvalue_get_cmd(value: value): any | null;
function icalvalue_get_date(value: value): any | null;
function icalvalue_get_datetime(value: value): any | null;
function icalvalue_get_datetimedate(value: value): any | null;
function icalvalue_get_datetimeperiod(value: value): any | null;
function icalvalue_get_duration(value: value): any | null;
function icalvalue_get_float(value: value): number;
function icalvalue_get_geo(value: value): any | null;
function icalvalue_get_integer(value: value): number;
function icalvalue_get_method(value: value): any | null;
function icalvalue_get_period(value: value): any | null;
function icalvalue_get_pollcompletion(value: value): any | null;
function icalvalue_get_pollmode(value: value): any | null;
function icalvalue_get_query(value: value): string;
function icalvalue_get_querylevel(value: value): any | null;
function icalvalue_get_recur(value: value): any | null;
function icalvalue_get_requeststatus(value: value): any | null;
function icalvalue_get_status(value: value): any | null;
function icalvalue_get_string(value: value): string;
function icalvalue_get_taskmode(value: value): any | null;
function icalvalue_get_text(value: value): string;
function icalvalue_get_transp(value: value): any | null;
function icalvalue_get_trigger(value: value): any | null;
function icalvalue_get_uri(value: value): string;
function icalvalue_get_utcoffset(value: value): number;
function icalvalue_get_x(value: value): string;
function icalvalue_get_xlicclass(value: value): any | null;
function icalvalue_is_valid(value: value): number;
function icalvalue_isa(value: value): value_kind;
function icalvalue_isa_value(arg0?: any | null): number;
function icalvalue_kind_is_valid(kind: value_kind | null): number;
function icalvalue_kind_to_string(kind: value_kind | null): string;
function icalvalue_reset_kind(value: value): void;
function icalvalue_set_action(value: value, v?: any | null): void;
function icalvalue_set_attach(value: value, attach: attach): void;
function icalvalue_set_binary(value: value, v: string): void;
function icalvalue_set_boolean(value: value, v: number): void;
function icalvalue_set_busytype(value: value, v?: any | null): void;
function icalvalue_set_caladdress(value: value, v: string): void;
function icalvalue_set_carlevel(value: value, v?: any | null): void;
function icalvalue_set_class(value: value, v?: any | null): void;
function icalvalue_set_cmd(value: value, v?: any | null): void;
function icalvalue_set_date(value: value, v?: any | null): void;
function icalvalue_set_datetime(value: value, v?: any | null): void;
function icalvalue_set_datetimedate(value: value, v?: any | null): void;
function icalvalue_set_datetimeperiod(value: value, v?: any | null): void;
function icalvalue_set_duration(value: value, v?: any | null): void;
function icalvalue_set_float(value: value, v: number): void;
function icalvalue_set_geo(value: value, v?: any | null): void;
function icalvalue_set_integer(value: value, v: number): void;
function icalvalue_set_method(value: value, v?: any | null): void;
function icalvalue_set_parent(value: value, property: property): void;
function icalvalue_set_period(value: value, v?: any | null): void;
function icalvalue_set_pollcompletion(value: value, v?: any | null): void;
function icalvalue_set_pollmode(value: value, v?: any | null): void;
function icalvalue_set_query(value: value, v: string): void;
function icalvalue_set_querylevel(value: value, v?: any | null): void;
function icalvalue_set_recur(value: value, v?: any | null): void;
function icalvalue_set_requeststatus(value: value, v?: any | null): void;
function icalvalue_set_status(value: value, v?: any | null): void;
function icalvalue_set_string(value: value, v: string): void;
function icalvalue_set_taskmode(value: value, v?: any | null): void;
function icalvalue_set_text(value: value, v: string): void;
function icalvalue_set_transp(value: value, v?: any | null): void;
function icalvalue_set_trigger(value: value, v?: any | null): void;
function icalvalue_set_uri(value: value, v: string): void;
function icalvalue_set_utcoffset(value: value, v: number): void;
function icalvalue_set_x(value: value, v: string): void;
function icalvalue_set_xlicclass(value: value, v?: any | null): void;
function icalvalue_string_to_kind(str: string): value_kind;
function print_date_to_string(str: string, data?: any | null): void;
function print_datetime_to_string(str: string, data?: any | null): void;
function pvl_clear(arg0: pvl_list): void;
function pvl_count(arg0: pvl_list): number;
function pvl_data(arg0: pvl_elem): any | null;
function pvl_free(arg0: pvl_list): void;
function pvl_insert_after(l: pvl_list, e: pvl_elem, d?: any | null): void;
function pvl_insert_before(l: pvl_list, e: pvl_elem, d?: any | null): void;
function pvl_pop(l: pvl_list): any | null;
function pvl_push(l: pvl_list, d?: any | null): void;
function pvl_remove(arg0: pvl_list, arg1: pvl_elem): any | null;
function pvl_shift(l: pvl_list): any | null;
function pvl_unshift(l: pvl_list, d?: any | null): void;
function set_unknown_token_handling_setting(newSetting: _unknown_token_handling | null): void;
function set_zone_directory(path: string): void;
function sspm_encoding_string(type?: any | null): string;
function sspm_free_parts(parts: any | null, max_parts: number): void;
function sspm_major_type_string(type?: any | null): string;
function sspm_minor_type_string(type?: any | null): string;
function sspm_parse_mime(
parts: any | null,
max_parts: number,
actions?: any | null,
get_string?: any | null,
get_string_data?: any | null,
first_header?: any | null,
): number;
function sspm_write_mime(parts: any | null, num_parts: number, output_string: string, header: string): number;
interface icalattach_free_fn_t {
(data: string): void;
}
interface icalparser_line_gen_func {
(s: string, size: number, d?: any | null): string;
}
interface pvl_applyf {
(a?: any | null, b?: any | null): void;
}
interface pvl_comparef {
(a?: any | null, b?: any | null): number;
}
interface pvl_findf {
(a?: any | null, b?: any | null): number;
}
class array {
static $gtype: GObject.GType;
// Fields
element_size: number;
increment_size: number;
num_elements: number;
space_allocated: number;
chunks: any;
// Constructors
constructor(
properties?: Partial<{
element_size: number;
increment_size: number;
num_elements: number;
space_allocated: number;
chunks: any;
}>,
);
_init(...args: any[]): void;
}
abstract class attach {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class compiter {
static $gtype: GObject.GType;
// Fields
kind: component_kind;
// Constructors
_init(...args: any[]): void;
}
abstract class component {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class datetimeperiodtype {
static $gtype: GObject.GType;
// Fields
time: any;
period: any;
// Constructors
constructor(
properties?: Partial<{
time: any;
period: any;
}>,
);
_init(...args: any[]): void;
}
class durationtype {
static $gtype: GObject.GType;
// Fields
is_neg: number;
days: number;
weeks: number;
hours: number;
minutes: number;
seconds: number;
// Constructors
constructor(
properties?: Partial<{
is_neg: number;
days: number;
weeks: number;
hours: number;
minutes: number;
seconds: number;
}>,
);
_init(...args: any[]): void;
}
class geotype {
static $gtype: GObject.GType;
// Fields
lat: number;
lon: number;
// Constructors
constructor(
properties?: Partial<{
lat: number;
lon: number;
}>,
);
_init(...args: any[]): void;
}
abstract class parameter {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
abstract class parser {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class periodtype {
static $gtype: GObject.GType;
// Fields
start: any;
end: any;
duration: any;
// Constructors
constructor(
properties?: Partial<{
start: any;
end: any;
duration: any;
}>,
);
_init(...args: any[]): void;
}
abstract class property {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
abstract class pvl_elem {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class pvl_elem_t {
static $gtype: GObject.GType;
// Fields
MAGIC: number;
d: any;
next: any;
prior: any;
// Constructors
constructor(
properties?: Partial<{
MAGIC: number;
d: any;
next: any;
prior: any;
}>,
);
_init(...args: any[]): void;
}
abstract class pvl_list {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
abstract class recur_iterator {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class recurrencetype {
static $gtype: GObject.GType;
// Fields
freq: recurrencetype_frequency;
until: any;
count: number;
interval: number;
week_start: recurrencetype_weekday;
by_second: number[];
by_minute: number[];
by_hour: number[];
by_day: number[];
by_month_day: number[];
by_year_day: number[];
by_week_no: number[];
by_month: number[];
by_set_pos: number[];
rscale: string;
skip: recurrencetype_skip;
// Constructors
_init(...args: any[]): void;
}
class reqstattype {
static $gtype: GObject.GType;
// Fields
code: requeststatus;
desc: string;
debug: string;
// Constructors
_init(...args: any[]): void;
}
class sspm_action_map {
static $gtype: GObject.GType;
// Fields
major: any;
minor: any;
// Constructors
constructor(
properties?: Partial<{
major: any;
minor: any;
}>,
);
_init(...args: any[]): void;
}
class sspm_header {
static $gtype: GObject.GType;
// Fields
def: number;
boundary: string;
major: any;
minor: any;
minor_text: string;
content_type_params: string;
charset: string;
encoding: any;
filename: string;
content_id: string;
error: any;
error_text: string;
// Constructors
constructor(
properties?: Partial<{
def: number;
boundary: string;
major: any;
minor: any;
minor_text: string;
content_type_params: string;
charset: string;
encoding: any;
filename: string;
content_id: string;
error: any;
error_text: string;
}>,
);
_init(...args: any[]): void;
}
class sspm_part {
static $gtype: GObject.GType;
// Fields
header: any;
level: number;
data_size: number;
data: any;
// Constructors
constructor(
properties?: Partial<{
header: any;
level: number;
data_size: number;
data: any;
}>,
);
_init(...args: any[]): void;
}
class time_span {
static $gtype: GObject.GType;
// Fields
start: never;
end: never;
is_busy: number;
// Constructors
_init(...args: any[]): void;
}
class timetype {
static $gtype: GObject.GType;
// Fields
year: number;
month: number;
day: number;
hour: number;
minute: number;
second: number;
is_date: number;
is_daylight: number;
// Constructors
_init(...args: any[]): void;
}
abstract class timezone {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
class timezonephase {
static $gtype: GObject.GType;
// Fields
tzname: string;
is_stdandard: number;
dtstart: any;
offsetto: number;
tzoffsetfrom: number;
comment: string;
rdate: any;
rrule: string;
// Constructors
constructor(
properties?: Partial<{
tzname: string;
is_stdandard: number;
dtstart: any;
offsetto: number;
tzoffsetfrom: number;
comment: string;
rdate: any;
rrule: string;
}>,
);
_init(...args: any[]): void;
}
class timezonetype {
static $gtype: GObject.GType;
// Fields
tzid: string;
last_mod: any;
tzurl: string;
phases: any;
// Constructors
constructor(
properties?: Partial<{
tzid: string;
last_mod: any;
tzurl: string;
phases: any;
}>,
);
_init(...args: any[]): void;
}
class triggertype {
static $gtype: GObject.GType;
// Fields
time: any;
duration: any;
// Constructors
constructor(
properties?: Partial<{
time: any;
duration: any;
}>,
);
_init(...args: any[]): void;
}
abstract class value {
static $gtype: GObject.GType;
// Constructors
_init(...args: any[]): void;
}
/**
* Name of the imported GIR library
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
*/
const __name__: string;
/**
* Version of the imported GIR library
* `see` https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
*/
const __version__: string;
}
export default ICal;
}
declare module 'gi://ICal' {
import ICal30 from 'gi://ICal?version=3.0';
export default ICal30;
}
// END