/** * @packageDocumentation * * This package implements the basic player API that exposes the Player events on the `events` field and the log level on the `logLevel` field. * * It also exposes the `EventBus` component on the registry. * * ### `PlayerApi` Package Dependency Graph *
PlayerApi
EventBus
*/ import type { ContextHaving } from '../../../framework-types/execution-context/Types'; import type { BaseContext } from '../../../framework-types/Types'; import { BundleExportNames } from '../../bundles/Types'; import type { Logger } from '../core/utils/Logger'; import type { createEventBus } from '../event-bus/EventBus'; import type { EventBus } from '../event-bus/Types'; import { EventBusExportNames } from '../event-bus/Types'; import type { PlayerApi, PlayerEventMap } from './Types'; import { PlayerApiExportNames } from './Types'; type PlayerApiDependencies = { [BundleExportNames.Logger]: Logger; [EventBusExportNames.CreateEventBus]: typeof createEventBus; }; type PlayerApiExports = { [PlayerApiExportNames.PlayerEventBus]: EventBus; }; export type PlayerApiContext = ContextHaving; declare const PlayerApiPackage: import("../../../framework-types/package-api/Package").Package; export default PlayerApiPackage;