import type { LogLevel, OnLogCallback } from '../../../framework-types/effects/LoggerEffect';
import type { EventBus } from '../event-bus/Types';
export declare enum PlayerApiExportNames {
    PlayerEventBus = "player-event-bus"
}
export declare enum PlayerEvent {
    PlayerError = "player-error"
}
export type PlayerErrorEvent = {
    message: string;
    name: string;
    stack: string | undefined;
};
export type PlayerEventMap = {
    [PlayerEvent.PlayerError]: PlayerErrorEvent;
};
export type PlayerEventBus = EventBus<PlayerEventMap>;
export type PlayerApi = {
    events: EventBus<PlayerEventMap, typeof PlayerEvent>;
    logLevel: LogLevel;
    addOnLogCallback: (callback: OnLogCallback) => () => void;
};
