import { EntityTypes, Short, Extended, Any } from './trakt-entity.model.js'; import { TraktApiIds } from './trakt-id.model.js'; import { TraktImage } from './trakt-image.model.js'; import { TraktCast } from './trakt-people.model.js'; import '@dvcol/common-utils/common/models'; import './trakt-client.model.js'; import '@dvcol/base-http-client'; import '@dvcol/common-utils/http/fetch'; import '../api/trakt-api.filters.js'; declare const TraktEpisodeType: { Standard: string; SeriesPremiere: string; SeasonPremiere: string; MidSeasonPremiere: string; MidSeasonFinale: string; SeasonFinale: string; SeriesFinale: string; }; type TraktEpisodeTypes = (typeof TraktEpisodeType)[keyof typeof TraktEpisodeType]; declare const TraktEpisodeTypeValues: string[]; type TraktEpisodeShort = { season: number; number: number; title: string; ids: Pick; }; type TraktEpisodeExtended = TraktEpisodeShort & { number_abs: number; overview: string; /** Timestamp in ISO 8601 GMT format (YYYY-MM-DD'T'hh:mm:ss.sssZ) */ first_aired: string; /** Timestamp in ISO 8601 GMT format (YYYY-MM-DD'T'hh:mm:ss.sssZ) */ updated_at: string; rating: number; votes: number; comment_count: number; /** Array of 2 character language code. (ISO 639-1) */ available_translations: string[]; /** In minutes */ runtime: number; episode_type: TraktEpisodeTypes; images: TraktImage; }; type TraktEpisode = T extends Extended ? TraktEpisodeExtended : T extends Short ? TraktEpisodeShort : TraktEpisodeShort & Partial; type TraktEpisodeCast = TraktCast; type TraktEpisodeStats = { watchers: number; plays: number; collectors: number; collected_episodes: number; comments: number; lists: number; votes: number; }; export { type TraktEpisode, type TraktEpisodeCast, type TraktEpisodeExtended, type TraktEpisodeShort, type TraktEpisodeStats, TraktEpisodeType, TraktEpisodeTypeValues, type TraktEpisodeTypes };