import type { ApiManager } from '../../../../framework-types/api-manager/ApiManager'; import type { ContextHaving } from '../../../../framework-types/execution-context/Types'; import type { BundleExportNames } from '../../../bundles/Types'; import type { CoreEffects, CoreExportNames } from '../../core/Types'; import type { Logger } from '../../core/utils/Logger'; import type { EventBus } from '../../event-bus/Types'; import type { PlaybackState, PlaybackStateMachineAtom, PlaybackStatePackageExportNames } from '../../playback/playback-state/Types'; import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom'; import type { SourceExportNames } from '../../source/Types'; import type { SourcesApiExportNames } from '../../sources-api/Types'; import type { ContextWithState } from '../../Types'; import type { PlaybackEvent, PlaybackEventMap } from './events/PlaybackEventMap'; export type PlaybackApiEventsPackageDependencies = { [BundleExportNames.Logger]: Logger; [CoreExportNames.CoreEffects]: CoreEffects; [PlaybackStatePackageExportNames.PlaybackState]: typeof PlaybackState; [PlaybackStatePackageExportNames.PlaybackStateMachine]: PlaybackStateMachineAtom; [SourcesApiExportNames.SourceEventBus]: EventBus; [SourcesApiExportNames.SourceApiManager]: ApiManager; [SourceExportNames.SourceState]: SourceStateAtom; }; export declare enum PlaybackApiEventsPackageExportNames { PlaybackEvent = "playback-event" } export type PlaybackApiEventsPackageExports = { [PlaybackApiEventsPackageExportNames.PlaybackEvent]: typeof PlaybackEvent; }; export type PlaybackApiEventsPackageContext = ContextHaving; export type PlaybackStateApi = { getState(): PlaybackState; };