import { PartialTrigger } from '../types'; import { IdGenerator } from '../utils'; import * as client from '@keneanung/iron-realms-nexus-typings'; /** * Class for a Nexus trigger */ export declare class Trigger implements client.Trigger { name: string; id: number; type: 'trigger'; enabled: boolean; text: string; matching: 'exact' | 'begins' | 'regexp' | 'substring'; whole_words: boolean; case_sensitive: boolean; actions: client.Action[]; /** * Constructs a new complete trigger from a partial one. * @param {PartialTrigger} partialTrigger The partial trigger that should be converted to a new complete trigger. * @param {IdGenerator} idGenerator The generator to retrieve this item's ID from. * @param {string} packageDefinitionFile The path to the package definition file. */ constructor(partialTrigger: PartialTrigger, idGenerator: IdGenerator, packageDefinitionFile: string); }