*/ public function count_events_by_status(): array; /** * Published TEC events, with meta resolved. * * @param ?DateTimeImmutable $modified_since Only events modified at or * after this UTC instant. * @return list */ public function events( ?DateTimeImmutable $modified_since = null ): array; /** * Venues by tribe_venue post id. Unknown ids are omitted. * * @param list $ids Venue post ids. * @return array Keyed by post id. */ public function venues( array $ids ): array; /** * Organizers by tribe_organizer post id. Unknown ids are omitted. * * @param list $ids Organizer post ids. * @return array Keyed by post id. */ public function organizers( array $ids ): array; /** * Stored occurrence starts for one event, 'Y-m-d H:i:s' in the event's * own timezone, from TEC 6's wp_tec_occurrences table. The import uses * these to expand non-convertible recurrences into standalone events. * * @param int $post_id tribe_events post id. * @return list */ public function occurrences( int $post_id ): array; /** * All tribe_events_cat terms, including empty ones. * * @return array Keyed by term id. */ public function categories(): array; /** * IDs of every currently published TEC event — the deletion sweep's * reference set. A modified-since read cannot see deletes, trashes or * unpublishes; the sync compares this list against the mirror instead. * * @return list tribe_events post ids. */ public function published_ids(): array; /** * Labels of the Additional Fields defined in Events Calendar Pro. * * Defined once for the whole site under Events → Settings → Additional * Fields; each event then holds values for that fixed set. The import * does not carry the values across, and silently dropping data a site * deliberately configured is worse than declining to import it — so the * labels are read in order to say so before anything is written. * * @return list}> Empty when * Events Calendar Pro is absent or no fields are configured. `key` * is the postmeta key the values are stored under, and is empty * for a definition whose storage key cannot be determined — such a * field can be named to the user but not read. */ public function additional_fields(): array; }