import { Selector } from "../../../mdk-core/src";
import { int } from 'mdk-nbt';
export declare enum XpTypeKind {
    points = "points",
    levels = "levels"
}
export declare type XpType = XpTypeKind | keyof typeof XpTypeKind;
declare const _default: {
    add: typeof add;
    set: typeof set;
    query: typeof query;
};
export default _default;
/**
 * 给予玩家经验。
 * @param player 玩家
 * @param count 数量
 */
declare function add(player: Selector, count: int): string;
/**
 * 给予玩家经验。
 * @param player 玩家
 * @param count 数量
 * @param type 类型
 */
declare function add(player: Selector, count: int, type: XpType): string;
/**
 * 设置玩家经验。
 * @param player 玩家
 * @param count 数量
 */
declare function set(player: Selector, count: int): string;
/**
 * 设置玩家经验。
 * @param player 玩家
 * @param count 数量
 * @param type 类型
 */
declare function set(player: Selector, count: int, type: XpType): string;
/**
 * 查询玩家经验。
 * @param player 玩家
 */
declare function query(player: Selector): string;
/**
 * 查询玩家经验。
 * @param player 玩家
 * @param type 模式
 */
declare function query(player: Selector, type: XpType): string;
