UNPKG

mythtv-services-api

Version:
37 lines (36 loc) 1.56 kB
import { CaptureService } from './CaptureService'; import { ChannelService } from './ChannelService'; import { ContentService } from './ContentService'; import { DvrService } from './DvrService'; import { Frontend } from './Frontend'; import { GuideService } from './GuideService'; import { MythService } from './MythService'; import { VideoService } from './VideoService'; export { default as ApiTypes } from './ApiTypes'; export * from './CaptureService'; export * from './ChannelService'; export * from './Communication'; export * from './ContentService'; export * from './DvrService'; export * from './Frontend'; export * from './GuideService'; export * from './MythService'; export * from './VideoService'; export declare class BackendServices { private readonly baseUrl; readonly mythService: MythService.Service; readonly dvrService: DvrService.Service; readonly channelService: ChannelService.Service; readonly videoService: VideoService.Service; readonly captureService: CaptureService.Service; readonly contentService: ContentService.Service; readonly guideService: GuideService.Service; constructor(baseUrl: URL); get hostname(): string; get port(): string; get protocol(): string; } export declare let masterBackend: BackendServices; export declare function masterBackendSettings(baseUrl: URL): void; export declare function getFrontendServices(online: boolean): Promise<Frontend.Service[]>; export declare function frontend(host: string, port?: number, fehostname?: string): Promise<Frontend.Service>;