import { ISeriesContentListings, IEpisodeQuery, IEpisodeQueryResult, IPlayerChannel, IQueryResult, IRecommendationQuery, RecommendationType } from "../../app"; import type { DisneyApp, IDisneyOpts } from "."; import { ICollection } from "./api"; export declare type CollectionSetType = ICollection["type"]; export declare class DisneyPlayerChannel implements IPlayerChannel { private readonly api; constructor(options: IDisneyOpts); ownsUrl(url: string): boolean; createPlayable(url: string): Promise<(app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise>; createContentListingsFor(result: IQueryResult): Promise; findEpisodeFor(item: IQueryResult, query: IEpisodeQuery): Promise; /** * Search for {@see Player.play}'able media by title */ queryByTitle(title: string): AsyncIterable; queryRecent(): AsyncGenerator<{ recommendationType: RecommendationType; recommendationCategoryTitle: string; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; } | { recommendationType: RecommendationType; recommendationCategoryTitle?: undefined; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; }, void, undefined>; queryRecommended(): AsyncGenerator<{ recommendationType: RecommendationType; recommendationCategoryTitle: string; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; } | { recommendationType: RecommendationType; recommendationCategoryTitle?: undefined; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; }, void, undefined>; queryRecommendations(query?: IRecommendationQuery): AsyncGenerator<{ recommendationType: RecommendationType; recommendationCategoryTitle: string; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; } | { recommendationType: RecommendationType; recommendationCategoryTitle?: undefined; appName: string; cover: string | undefined; desc: string | undefined; title: string; url: string; playable: (app: DisneyApp, _opts: import("../../app").IPlayableOptions) => Promise; }, void, unknown>; private queryCollectionType; private collectionIterable; private collectionToRecommendationInfo; private searchHitToQueryResult; }