tmdb-kit 0.1.0-beta.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,10 +8,15 @@ interface JsonObject {
8
8
  }
9
9
  /** Escape hatch for append_to_response payloads and future TMDB fields. */
10
10
  type TMDBObject = Record<string, unknown>;
11
+ /** Date string in TMDB format (typically `YYYY-MM-DD`). */
11
12
  type TMDBDateString = string;
13
+ /** ISO 639-1 language code (e.g. `"en"`, `"zh"`). */
12
14
  type LanguageCode = string;
15
+ /** ISO 3166-1 country/region code (e.g. `"US"`, `"CN"`). */
13
16
  type RegionCode = string;
17
+ /** Supported media types for multi-search results. */
14
18
  type MediaType = 'movie' | 'tv' | 'person';
19
+ /** Time window for trending endpoints: `"day"` or `"week"`. */
15
20
  type TrendingTimeWindow = 'day' | 'week';
16
21
  interface PagedResponse<T> {
17
22
  page: number;
@@ -220,6 +225,16 @@ type SearchMultiResult = (MovieSummary & {
220
225
  }) | (PersonSummary & {
221
226
  media_type: 'person';
222
227
  });
228
+ /** A single multi-search result narrowed to a specific media type. */
229
+ type MovieMultiResult = MovieSummary & {
230
+ media_type: 'movie';
231
+ };
232
+ type TVMultiResult = TVSummary & {
233
+ media_type: 'tv';
234
+ };
235
+ type PersonMultiResult = PersonSummary & {
236
+ media_type: 'person';
237
+ };
223
238
  type TrendingResult = SearchMultiResult;
224
239
  interface CreditCastMember {
225
240
  adult?: boolean;
@@ -324,6 +339,41 @@ type PosterSize = 'w92' | 'w154' | 'w185' | 'w342' | 'w500' | 'w780' | 'original
324
339
  type ProfileSize = 'w45' | 'w185' | 'h632' | 'original' | (string & {});
325
340
  type StillSize = 'w92' | 'w185' | 'w300' | 'original' | (string & {});
326
341
  type ImageSize = BackdropSize | LogoSize | PosterSize | ProfileSize | StillSize;
342
+ /**
343
+ * Public set of image sizes TMDB currently documents. The SDK does not
344
+ * pin to a static copy of the TMDB docs — TMDB has added new sizes in
345
+ * the past (e.g. `h632` for profile) without notice — but exposing the
346
+ * canonical list lets callers:
347
+ *
348
+ * - iterate over the set to build a size picker
349
+ * - validate user-supplied sizes with `isKnownBackdropSize(...)` etc.
350
+ * - type a variable as a "known" size without giving up the
351
+ * `(string & {})` escape hatch for forward-compatibility
352
+ *
353
+ * If TMDB publishes a new size, the SDK will still accept it at runtime
354
+ * (every helper is `(string & {})` permissive), but you will need to
355
+ * add the literal to these constants to get autocomplete on it.
356
+ */
357
+ declare const KNOWN_BACKDROP_SIZES: readonly ['w300', 'w780', 'w1280', 'original'];
358
+ declare const KNOWN_LOGO_SIZES: readonly ['w45', 'w92', 'w154', 'w185', 'w300', 'w500', 'original'];
359
+ declare const KNOWN_POSTER_SIZES: readonly ['w92', 'w154', 'w185', 'w342', 'w500', 'w780', 'original'];
360
+ declare const KNOWN_PROFILE_SIZES: readonly ['w45', 'w185', 'h632', 'original'];
361
+ declare const KNOWN_STILL_SIZES: readonly ['w92', 'w185', 'w300', 'original'];
362
+ type KnownBackdropSize = (typeof KNOWN_BACKDROP_SIZES)[number];
363
+ type KnownLogoSize = (typeof KNOWN_LOGO_SIZES)[number];
364
+ type KnownPosterSize = (typeof KNOWN_POSTER_SIZES)[number];
365
+ type KnownProfileSize = (typeof KNOWN_PROFILE_SIZES)[number];
366
+ type KnownStillSize = (typeof KNOWN_STILL_SIZES)[number];
367
+ type KnownImageSize = KnownBackdropSize | KnownLogoSize | KnownPosterSize | KnownProfileSize | KnownStillSize;
368
+ /** Union of every documented image size. */
369
+ declare const KNOWN_IMAGE_SIZES: readonly KnownImageSize[];
370
+ declare function isKnownBackdropSize(value: string): value is KnownBackdropSize;
371
+ declare function isKnownLogoSize(value: string): value is KnownLogoSize;
372
+ declare function isKnownPosterSize(value: string): value is KnownPosterSize;
373
+ declare function isKnownProfileSize(value: string): value is KnownProfileSize;
374
+ declare function isKnownStillSize(value: string): value is KnownStillSize;
375
+ /** True if `value` is in any documented size set. */
376
+ declare function isKnownImageSize(value: string): value is KnownImageSize;
327
377
  type MovieAppendToResponse = 'account_states' | 'alternative_titles' | 'changes' | 'credits' | 'external_ids' | 'images' | 'keywords' | 'lists' | 'recommendations' | 'release_dates' | 'reviews' | 'similar' | 'translations' | 'videos' | 'watch/providers' | (string & {});
328
378
  type TVAppendToResponse = 'account_states' | 'aggregate_credits' | 'alternative_titles' | 'changes' | 'content_ratings' | 'credits' | 'episode_groups' | 'external_ids' | 'images' | 'keywords' | 'recommendations' | 'reviews' | 'screened_theatrically' | 'similar' | 'translations' | 'videos' | 'watch/providers' | (string & {});
329
379
  interface ListOptions {
@@ -352,21 +402,36 @@ interface TVSearchOptions extends Omit<ListOptions, 'region'> {
352
402
  }
353
403
  interface MultiSearchOptions extends Omit<ListOptions, 'region'> {
354
404
  includeAdult?: boolean;
405
+ /**
406
+ * Media types to exclude from a `search.multi()` response. Filtering is
407
+ * performed client-side because the TMDB multi-search endpoint does not
408
+ * support a server-side media_type filter.
409
+ */
410
+ exclude?: ReadonlyArray<MediaType>;
355
411
  }
356
412
  interface ImageQueryOptions extends LanguageOptions {
357
413
  includeImageLanguage?: string | readonly string[];
358
414
  }
359
415
  //#endregion
360
416
  //#region src/query.d.ts
417
+ /** Primitives allowed as query parameter values. */
361
418
  type QueryPrimitive = string | number | boolean;
419
+ /** A single query parameter value: primitive, array, or nullish. */
362
420
  type QueryValue = QueryPrimitive | readonly QueryPrimitive[] | null | undefined;
421
+ /** Key-value map of query parameters for API requests. */
363
422
  type QueryParams = Record<string, QueryValue>;
423
+ /** Default query parameters inherited from the client configuration. */
364
424
  interface QueryDefaults {
365
425
  language?: LanguageCode;
366
426
  region?: RegionCode;
367
427
  }
368
428
  interface BuildImageUrlOptions {
369
429
  baseUrl?: string;
430
+ /**
431
+ * Transform the resolved TMDB image URL before returning it. Use this to
432
+ * route requests through a CDN, image proxy, or to add signatures.
433
+ */
434
+ transform?: (url: string) => string;
370
435
  }
371
436
  /**
372
437
  * Build a full TMDB image URL from the path returned by API payloads.
@@ -374,7 +439,28 @@ interface BuildImageUrlOptions {
374
439
  */
375
440
  declare function buildImageUrl(path: string | null | undefined, size?: ImageSize, options?: BuildImageUrlOptions): string | null;
376
441
  //#endregion
442
+ //#region src/resources/images.d.ts
443
+ /** Function that transforms a TMDB image URL (e.g. for CDN proxying). */
444
+ type ImageUrlTransform = (url: string) => string;
445
+ /**
446
+ * Helper for constructing TMDB image URLs from API path values.
447
+ *
448
+ * Obtained via `client.images`. Supports optional URL transforms for
449
+ * routing image requests through a CDN or proxy.
450
+ */
451
+ declare class ImagesHelper {
452
+ #private;
453
+ constructor(transport: TMDBTransport, transform?: ImageUrlTransform);
454
+ url(path: string | null | undefined, size?: ImageSize, options?: {
455
+ transform?: ImageUrlTransform;
456
+ }): string | null;
457
+ }
458
+ //#endregion
377
459
  //#region src/http.d.ts
460
+ /**
461
+ * A minimal fetch-like function signature. Any runtime's native `fetch`
462
+ * or a test double conforming to this shape can be used.
463
+ */
378
464
  type FetchLike = (input: string, init?: RequestInit) => Promise<Response>;
379
465
  interface TMDBAccessTokenAuth {
380
466
  /** TMDB API Read Access Token. Sent as an Authorization Bearer header. */
@@ -387,28 +473,52 @@ interface TMDBApiKeyAuth {
387
473
  accessToken?: never;
388
474
  }
389
475
  type TMDBAuth = TMDBAccessTokenAuth | TMDBApiKeyAuth;
476
+ /** Internal defaults resolved during client construction. */
390
477
  interface TMDBClientDefaults extends QueryDefaults {
391
478
  imageBaseUrl: string;
392
479
  }
480
+ interface TMDBImagesOptions {
481
+ /**
482
+ * Default transform applied to every URL produced by the ImagesHelper.
483
+ * Use this to route TMDB image requests through a CDN, image proxy, or
484
+ * to add signed query parameters. Individual calls can still override it
485
+ * via ImagesHelper.url(path, size, { transform }).
486
+ */
487
+ transform?: ImageUrlTransform;
488
+ }
393
489
  type TMDBClientOptions = TMDBAuth & {
394
490
  /** Defaults to https://api.themoviedb.org/3. Useful for tests or proxies. */baseUrl?: string; /** Inject a fetch implementation for tests, custom runtimes, or instrumentation. */
395
491
  fetch?: FetchLike; /** Default language for endpoints that accept a language query parameter. */
396
492
  defaultLanguage?: LanguageCode; /** Default region for movie list/search endpoints that accept a region query parameter. */
397
493
  defaultRegion?: RegionCode; /** Custom image host. Defaults to https://image.tmdb.org/t/p. */
398
- imageBaseUrl?: string; /** Additional headers merged into every request before authentication is applied. */
494
+ imageBaseUrl?: string; /** Image-helper configuration: host overrides and URL transforms. */
495
+ images?: TMDBImagesOptions; /** Additional headers merged into every request before authentication is applied. */
399
496
  headers?: HeadersInit;
400
497
  };
498
+ /** Per-request overrides applied when making a single API call. */
401
499
  interface TMDBRequestOptions {
402
500
  headers?: HeadersInit;
403
501
  query?: QueryParams;
404
502
  signal?: AbortSignal;
405
503
  }
504
+ /**
505
+ * Transport abstraction for making HTTP requests to the TMDB API.
506
+ *
507
+ * The built-in {@link TMDBHttpClient} implements this interface. You can
508
+ * provide a custom implementation via {@link TMDBFactoryOptions.transport}
509
+ * for testing, caching, or instrumentation.
510
+ */
406
511
  interface TMDBTransport {
407
512
  readonly defaults: TMDBClientDefaults;
408
513
  get<T>(path: string, options?: TMDBRequestOptions): Promise<T>;
409
514
  }
410
515
  //#endregion
411
516
  //#region src/resources/configuration.d.ts
517
+ /**
518
+ * Access TMDB configuration data (image sizes, countries, languages, etc.).
519
+ *
520
+ * Obtained via `client.configuration`.
521
+ */
412
522
  declare class ConfigurationResource {
413
523
  #private;
414
524
  constructor(transport: TMDBTransport);
@@ -421,6 +531,11 @@ declare class ConfigurationResource {
421
531
  }
422
532
  //#endregion
423
533
  //#region src/resources/genres.d.ts
534
+ /**
535
+ * Access TMDB genre lists for movies and TV shows.
536
+ *
537
+ * Obtained via `client.genres`.
538
+ */
424
539
  declare class GenresResource {
425
540
  #private;
426
541
  constructor(transport: TMDBTransport);
@@ -428,14 +543,12 @@ declare class GenresResource {
428
543
  tv(options?: LanguageOptions): Promise<GenresResponse>;
429
544
  }
430
545
  //#endregion
431
- //#region src/resources/images.d.ts
432
- declare class ImagesHelper {
433
- #private;
434
- constructor(transport: TMDBTransport);
435
- url(path: string | null | undefined, size?: ImageSize): string | null;
436
- }
437
- //#endregion
438
546
  //#region src/resources/movies.d.ts
547
+ /**
548
+ * Access TMDB movie endpoints (popular, top-rated, details, credits, etc.).
549
+ *
550
+ * Obtained via `client.movies`.
551
+ */
439
552
  declare class MoviesResource {
440
553
  #private;
441
554
  constructor(transport: TMDBTransport);
@@ -452,6 +565,11 @@ declare class MoviesResource {
452
565
  }
453
566
  //#endregion
454
567
  //#region src/resources/people.d.ts
568
+ /**
569
+ * Access TMDB person (actor, director, etc.) endpoints.
570
+ *
571
+ * Obtained via `client.people`.
572
+ */
455
573
  declare class PeopleResource {
456
574
  #private;
457
575
  constructor(transport: TMDBTransport);
@@ -460,6 +578,11 @@ declare class PeopleResource {
460
578
  }
461
579
  //#endregion
462
580
  //#region src/resources/search.d.ts
581
+ /**
582
+ * Search TMDB for movies, TV shows, people, or all media types.
583
+ *
584
+ * Obtained via `client.search`.
585
+ */
463
586
  declare class SearchResource {
464
587
  #private;
465
588
  constructor(transport: TMDBTransport);
@@ -470,6 +593,11 @@ declare class SearchResource {
470
593
  }
471
594
  //#endregion
472
595
  //#region src/resources/trending.d.ts
596
+ /**
597
+ * Access TMDB trending content (movies, TV, people) for day/week windows.
598
+ *
599
+ * Obtained via `client.trending`.
600
+ */
473
601
  declare class TrendingResource {
474
602
  #private;
475
603
  constructor(transport: TMDBTransport);
@@ -486,6 +614,11 @@ declare class TrendingResource {
486
614
  }
487
615
  //#endregion
488
616
  //#region src/resources/tv.d.ts
617
+ /**
618
+ * Access TMDB TV show endpoints (popular, top-rated, details, seasons, etc.).
619
+ *
620
+ * Obtained via `client.tv`.
621
+ */
489
622
  declare class TVResource {
490
623
  #private;
491
624
  constructor(transport: TMDBTransport);
@@ -503,6 +636,16 @@ declare class TVResource {
503
636
  }
504
637
  //#endregion
505
638
  //#region src/client.d.ts
639
+ /**
640
+ * Options accepted by {@link createTMDB} and the {@link TMDBClient} constructor.
641
+ *
642
+ * Extends {@link TMDBClientOptions} with an optional {@link TMDBTransport} so
643
+ * callers can plug in a custom transport (typically for tests, caching, or
644
+ * instrumentation) without having to mock `fetch` or the factory itself.
645
+ */
646
+ type TMDBFactoryOptions = TMDBClientOptions & {
647
+ transport?: TMDBTransport;
648
+ };
506
649
  /**
507
650
  * Main SDK entry point.
508
651
  *
@@ -520,12 +663,36 @@ declare class TMDBClient {
520
663
  readonly search: SearchResource;
521
664
  readonly trending: TrendingResource;
522
665
  readonly tv: TVResource;
523
- constructor(options: TMDBClientOptions);
666
+ constructor(options: TMDBFactoryOptions);
667
+ /**
668
+ * Make a raw GET request to any TMDB endpoint.
669
+ *
670
+ * This is an escape hatch for endpoints not covered by the typed resource
671
+ * helpers. The `path` should be relative to the API base URL (e.g.
672
+ * `/movie/{id}/credits`). Response is parsed as JSON and cast to `T`.
673
+ *
674
+ * @param path - API path relative to the base URL (e.g. `/movie/123`)
675
+ * @param options - Optional request-level overrides (headers, query, signal)
676
+ * @returns Parsed JSON response typed as `T`
677
+ */
524
678
  request<T>(path: string, options?: TMDBRequestOptions): Promise<T>;
525
679
  }
526
- declare function createTMDB(options: TMDBClientOptions): TMDBClient;
680
+ /**
681
+ * Create a new {@link TMDBClient} instance.
682
+ *
683
+ * @example
684
+ * ```ts
685
+ * const tmdb = createTMDB({ accessToken: 'YOUR_TOKEN' })
686
+ * const { results } = await tmdb.search.movies('Inception')
687
+ * ```
688
+ *
689
+ * @param options - Authentication and configuration options
690
+ * @returns A configured TMDBClient ready to make API calls
691
+ */
692
+ declare function createTMDB(options: TMDBFactoryOptions): TMDBClient;
527
693
  //#endregion
528
694
  //#region src/errors.d.ts
695
+ /** Options for constructing a {@link TMDBResponseError} or its subclasses. */
529
696
  interface TMDBResponseErrorOptions {
530
697
  body: JsonValue | undefined;
531
698
  headers: Headers;
@@ -552,7 +719,65 @@ declare class TMDBResponseError extends TMDBError {
552
719
  readonly statusText: string;
553
720
  readonly url: string;
554
721
  constructor(message: string, options: TMDBResponseErrorOptions);
722
+ /** True when TMDB has asked the caller to back off (HTTP 429). */
723
+ get isRateLimit(): boolean;
724
+ /** True when the resource was not found (HTTP 404). */
725
+ get isNotFound(): boolean;
726
+ /** True when the request was rejected as unauthenticated (HTTP 401). */
727
+ get isUnauthorized(): boolean;
728
+ /** True when the request was rejected as forbidden (HTTP 403). */
729
+ get isForbidden(): boolean;
730
+ /** True when the upstream returned a 5xx server error. */
731
+ get isServerError(): boolean;
732
+ }
733
+ interface TMDBRateLimitErrorOptions extends TMDBResponseErrorOptions {
734
+ /** Seconds to wait before retrying. Parsed from the `Retry-After` header. */
735
+ retryAfter: number;
555
736
  }
737
+ /**
738
+ * Thrown when TMDB returns HTTP 429.
739
+ *
740
+ * The SDK does NOT retry automatically — that decision is left to the
741
+ * caller, since retry policies vary widely. Inspect `retryAfter` to
742
+ * implement your own backoff.
743
+ */
744
+ declare class TMDBRateLimitError extends TMDBResponseError {
745
+ readonly retryAfter: number;
746
+ constructor(message: string, options: TMDBRateLimitErrorOptions);
747
+ }
748
+ //#endregion
749
+ //#region src/search-guards.d.ts
750
+ /**
751
+ * Type guard that narrows a `search.multi()` result to a movie entry.
752
+ *
753
+ * The `media_type` field is required on every `/search/multi` payload by
754
+ * TMDB, so this check is safe at runtime and produces a strictly typed
755
+ * MovieSummary on the narrowed branch.
756
+ */
757
+ declare function isMovieSearchResult(result: SearchMultiResult): result is MovieMultiResult;
758
+ declare function isMovieSearchResult(result: unknown): result is MovieMultiResult;
759
+ /** Type guard that narrows a `search.multi()` result to a TV entry. */
760
+ declare function isTVSearchResult(result: SearchMultiResult): result is TVMultiResult;
761
+ declare function isTVSearchResult(result: unknown): result is TVMultiResult;
762
+ /** Type guard that narrows a `search.multi()` result to a person entry. */
763
+ declare function isPersonSearchResult(result: SearchMultiResult): result is PersonMultiResult;
764
+ declare function isPersonSearchResult(result: unknown): result is PersonMultiResult;
765
+ /**
766
+ * Convenience alias: `isMovieSearchResult` works on a `search.movies()`
767
+ * result (which already has the narrow type but is also tagged with
768
+ * `media_type?: 'movie'`), as well as on multi-search results.
769
+ */
770
+ declare function isMovie(result: MovieSearchResult | SearchMultiResult): result is MovieMultiResult;
771
+ declare function isMovie(result: SearchMultiResult): result is MovieMultiResult;
772
+ declare function isMovie(result: unknown): result is MovieMultiResult;
773
+ /** Type guard that narrows a search result to a TV entry. */
774
+ declare function isTV(result: TVSearchResult | SearchMultiResult): result is TVMultiResult;
775
+ declare function isTV(result: SearchMultiResult): result is TVMultiResult;
776
+ declare function isTV(result: unknown): result is TVMultiResult;
777
+ /** Type guard that narrows a search result to a person entry. */
778
+ declare function isPerson(result: PersonSearchResult | SearchMultiResult): result is PersonMultiResult;
779
+ declare function isPerson(result: SearchMultiResult): result is PersonMultiResult;
780
+ declare function isPerson(result: unknown): result is PersonMultiResult;
556
781
  //#endregion
557
- export { type BackdropSize, type CollectionSummary, type Configuration, type ConfigurationImages, type Country, type CreditCastMember, type CreditCrewMember, type CreditsResponse, type EpisodeGuestStar, type EpisodeSummary, type FetchLike, type Genre, type GenresResponse, type ImageItem, type ImageQueryOptions, type ImageSize, type ImagesResponse, type JobDepartment, type Language, type LanguageCode, type LanguageOptions, type ListOptions, type LogoSize, type MediaType, type MovieAppendToResponse, type MovieDetails, type MovieDetailsOptions, type MovieSearchOptions, type MovieSearchResult, type MovieSummary, type MultiSearchOptions, type Network, type PagedResponse, type PersonDetails, type PersonKnownFor, type PersonKnownForMovie, type PersonKnownForTV, type PersonSearchResult, type PersonSummary, type PosterSize, type ProductionCompany, type ProductionCountry, type ProfileSize, type RegionCode, type SearchMultiResult, type SeasonSummary, type SpokenLanguage, type StillSize, type TMDBAccessTokenAuth, type TMDBApiKeyAuth, type TMDBAuth, TMDBClient, type TMDBClientOptions, type TMDBDateString, TMDBError, type TMDBObject, TMDBRequestError, type TMDBRequestOptions, TMDBResponseError, type TVAppendToResponse, type TVDetails, type TVDetailsOptions, type TVSearchOptions, type TVSearchResult, type TVSeasonAppendToResponse, type TVSeasonDetails, type TVSeasonDetailsOptions, type TVSummary, type Timezone, type TrendingResult, type TrendingTimeWindow, type Video, type VideosResponse, buildImageUrl, createTMDB };
782
+ export { type BackdropSize, type CollectionSummary, type Configuration, type ConfigurationImages, type Country, type CreditCastMember, type CreditCrewMember, type CreditsResponse, type EpisodeGuestStar, type EpisodeSummary, type FetchLike, type Genre, type GenresResponse, type ImageItem, type ImageQueryOptions, type ImageSize, type ImageUrlTransform, type ImagesResponse, type JobDepartment, KNOWN_BACKDROP_SIZES, KNOWN_IMAGE_SIZES, KNOWN_LOGO_SIZES, KNOWN_POSTER_SIZES, KNOWN_PROFILE_SIZES, KNOWN_STILL_SIZES, type KnownBackdropSize, type KnownImageSize, type KnownLogoSize, type KnownPosterSize, type KnownProfileSize, type KnownStillSize, type Language, type LanguageCode, type LanguageOptions, type ListOptions, type LogoSize, type MediaType, type MovieAppendToResponse, type MovieDetails, type MovieDetailsOptions, type MovieMultiResult, type MovieSearchOptions, type MovieSearchResult, type MovieSummary, type MultiSearchOptions, type Network, type PagedResponse, type PersonDetails, type PersonKnownFor, type PersonKnownForMovie, type PersonKnownForTV, type PersonMultiResult, type PersonSearchResult, type PersonSummary, type PosterSize, type ProductionCompany, type ProductionCountry, type ProfileSize, type RegionCode, type SearchMultiResult, type SeasonSummary, type SpokenLanguage, type StillSize, type TMDBAccessTokenAuth, type TMDBApiKeyAuth, type TMDBAuth, TMDBClient, type TMDBClientOptions, type TMDBDateString, TMDBError, type TMDBFactoryOptions, type TMDBImagesOptions, type TMDBObject, TMDBRateLimitError, TMDBRequestError, type TMDBRequestOptions, TMDBResponseError, type TMDBTransport, type TVAppendToResponse, type TVDetails, type TVDetailsOptions, type TVMultiResult, type TVSearchOptions, type TVSearchResult, type TVSeasonAppendToResponse, type TVSeasonDetails, type TVSeasonDetailsOptions, type TVSummary, type Timezone, type TrendingResult, type TrendingTimeWindow, type Video, type VideosResponse, buildImageUrl, createTMDB, isKnownBackdropSize, isKnownImageSize, isKnownLogoSize, isKnownPosterSize, isKnownProfileSize, isKnownStillSize, isMovie, isMovieSearchResult, isPerson, isPersonSearchResult, isTV, isTVSearchResult };
558
783
  //# sourceMappingURL=index.d.ts.map