import { ChromecastDevice } from "stratocaster"; import { BaseApp } from "../base"; import { HboPlayerChannel } from "./channel"; import { HboConfigurable, IHboOpts } from "./config"; export { IHboOpts } from "./config"; export interface IHboPlayOptions { /** Eg "en-US" */ locale?: string; showSubtitles?: boolean; /** * In seconds */ startTime?: number; } export declare class HboApp extends BaseApp { static tokenConfigKeys: string[]; static configurable: HboConfigurable; static createPlayerChannel(options: IHboOpts): HboPlayerChannel; private readonly api; constructor(device: ChromecastDevice, options: IHboOpts); /** * Play a URN that looks like, eg: * urn:hbo:episode:GVU3WpwOjOYNJjhsJAX5- */ play(urn: string, options?: IHboPlayOptions): Promise; /** * Attempt to resume the series with the given `urn`. */ resumeSeries(urn: string): Promise; }