import type { SandstoneCore } from '../core/index.js'; import { type MCFunctionClass } from '../core/resources/datapack/mcfunction.js'; import { ObjectiveClass } from './Objective.js'; import type { Score } from './Score.js'; export type TriggerHandler = (() => any) | MCFunctionClass | readonly [_: 'num', max: number, callback: (num: number) => any] | readonly [_: 'score', callback: (score: Score) => any]; export declare class TriggerClass { protected sandstoneCore: SandstoneCore; readonly name: string; protected readonly callback: HANDLE; readonly pollingEvery: number; readonly objective: ObjectiveClass; constructor(sandstoneCore: SandstoneCore, name: string, callback: HANDLE, pollingEvery: number); toString: () => string; } //# sourceMappingURL=Trigger.d.ts.map