import { IController, IInstance, IMedia, IModule, IModuleLoader, IPlayer, } from './types'; /** * Export all the internal types to module developers. */ export * from './types'; type ModuleConstructor = new (instance: IInstance) => T; /** * The current version of indigo-player * @type {string} */ export const VERSION: string; /** * Set the chunks path, this will tell the player where to get the chunks. * Defaults to: https://cdn.jsdelivr.net/npm/indigo-player@/lib/ * @param {string} chunksPath string */ export function setChunksPath(chunksPath: string); /** * Registers an external module within the player eco system. * @param {IModuleLoader} moduleLoader The module loader */ export function addModuleLoader(moduleLoader: IModuleLoader); /** * Enable console logs. * @param {boolean} enableConsoleLogs true/false */ export function setConsoleLogs(enableConsoleLogs: boolean); /** * Class constructor for a Module * @prop Module * @type {ModuleConstructor} */ export const Module: ModuleConstructor; /** * Class constructor for a Controller * @prop Controller * @type {ModuleConstructor} */ export const Controller: ModuleConstructor; /** * Class constructor for Media * @prop Media * @type {ModuleConstructor} */ export const Media: ModuleConstructor; /** * Class constructor for Player * @prop Player * @type {ModuleConstructor} */ export const Player: ModuleConstructor; export as namespace IndigoPlayer;