import { BannerColorKind, int } from 'mdk-nbt';
import { Selector } from "../../../mdk-core/src";
export declare type BossbarType = 'max' | 'players' | 'value' | 'visible';
export declare type BossbarStyle = 'progress' | 'notched_6' | 'notched_10' | 'notched_12' | 'notched_20';
declare const _default: {
    add: typeof add;
    setStyle: typeof setStyle;
    setValue: typeof setValue;
    setMax: typeof setMax;
    setVisible: typeof setVisible;
    setPlayers: typeof setPlayers;
    setColor: typeof setColor;
    list: typeof list;
    get: typeof get;
    remove: typeof remove;
};
export default _default;
/**
 * 创建一个新的Boss栏。
 * @param id Boss栏id
 * @param name 显示名，JSON Text
 */
declare function add(id: string, name: string): string;
/**
 * 列出已有的Boss栏。
 */
declare function list(): string;
/**
 * 列出已有的Boss栏。
 * @param id Boss栏id
 */
declare function remove(id: string): string;
/**
 * 获取设置类型的值，作为result使用
 * @param id Boss栏id
 * @param type 类型
 */
declare function get(id: string, type: BossbarType): string;
/**
 * 设置Boss栏样式
 * @param id Boss栏id
 * @param style 样式
 */
declare function setStyle(id: string, style: BossbarStyle): string;
/**
 * 设置Boss栏当前值
 * @param id Boss栏id
 * @param value 数值
 */
declare function setValue(id: string, value: int): string;
/**
 * 设置Boss栏最大值
 * @param id Boss栏id
 * @param max 数值
 */
declare function setMax(id: string, max: int): string;
/**
 * 设置Boss栏是否可见
 * @param id Boss栏id
 * @param visible 是否可见
 */
declare function setVisible(id: string, visible: boolean): string;
declare function setPlayers(id: string): string;
declare function setPlayers(id: string, player: Selector): string;
/**
 * 设置Boss栏是否可见
 * @param id Boss栏id
 * @param color 颜色id
 */
declare function setColor(id: string, color: BannerColorKind): string;
