import type { MakeClassCallable } from "../utils.js"; import type { FinalCommandOutput } from "../commands/index.js"; import type { NBTSerializable } from '../arguments/index.js'; import type { MakeInstanceCallable, NamespacedString, NonEmptyString } from '../utils.js'; import type { ConditionClass, SelectorPickClass } from './abstractClasses.js'; import type { SelectorEntityType, SelectorProperties } from './Selector.js'; import { SelectorClass } from './Selector.js'; import type { SandstonePack } from '../../index.js'; /** * Label tag (/tag) handler */ export declare class _RawLabelClass implements NBTSerializable { private pack; /** * Label name */ name: NonEmptyString; /** * Label Tag name with namespace */ fullName: `${string}.${string}`; /** * Label Description (optional) */ description?: NonEmptyString; constructor(pack: SandstonePack, name: NonEmptyString | NamespacedString, description?: NonEmptyString); LabelHolder(entity: SelectorClass | SelectorPickClass): EntityLabel; LabelHolder(target: '@e'): EntityLabel; LabelHolder(target: '@a'): EntityLabel; LabelHolder(target: '@s' | '@n'): EntityLabel; LabelHolder(target: '@p' | '@r', selectorArguments?: Omit, 'type'>, 'limit'>): EntityLabel; LabelHolder, 'limit'>>(target: '@s' | '@n', selectorArguments: PROPERTIES): EntityLabel; LabelHolder, 'type'>>(target: '@a', selectorArguments: PROPERTIES): EntityLabel; LabelHolder>(target: '@e', selectorArguments: PROPERTIES): EntityLabel; /** * Contains the name and description of the Label (eg. 'wasd:is_walking; Whether the player is not mounted') */ toString: () => string; __call__(entity: SelectorClass | SelectorPickClass): EntityLabel; __call__(target: '@e'): EntityLabel; __call__(target: '@a'): EntityLabel; __call__(target: '@s' | '@n'): EntityLabel; __call__(target: '@p' | '@r', selectorArguments?: Omit, 'type'>, 'limit'>): EntityLabel; __call__, 'limit'>>(target: '@s' | '@n', selectorArguments: PROPERTIES): EntityLabel; __call__, 'type'>>(target: '@a', selectorArguments: PROPERTIES): EntityLabel; __call__>(target: '@e', selectorArguments: PROPERTIES): EntityLabel; } export declare const LabelClass: /* */MakeClassCallable; export type LabelClass = MakeInstanceCallable<_RawLabelClass>; export declare class EntityLabel implements ConditionClass, SelectorPickClass { private pack; readonly __textComponentClassBrand: true; readonly __conditionClassBrand: true; /** * Phantom brand property for TypeScript type discrimination. */ readonly __selectorPickBrand: { single: IS_SINGLE; player: IS_PLAYER; }; /** Label */ label: _RawLabelClass; /** * Selects entity with the label */ selector: SelectorClass; /** * Selects entity */ originalSelector: string | SelectorClass; /** Test for label on entity */ test: ConditionClass; constructor(pack: SandstonePack, entity: SelectorClass | SelectorPickClass, label: _RawLabelClass); /** * Add label to entity */ add: () => /* */FinalCommandOutput; /** * Remove label from entity */ remove: () => /* */FinalCommandOutput; /** * Set label on/off for entity */ set(set: boolean | ConditionClass): void; /** * Toggle label on/off for entity */ toggle(): void; /** * Contains the selector, and the name/description of the Label (eg. 'Whether @s has the label wasd:is_walking; Whether the player is not mounted') */ toString: () => string; } //# sourceMappingURL=Label.d.ts.map