import { Events } from 'mezon-sdk'; export declare const NEZON_EVENT_METADATA = "nezon:event"; export declare const NEZON_EVENT_ONCE_METADATA = "nezon:event:once"; export declare const NEZON_MENTION_EVENT = "nezon:mention"; /** * Subscribes a method to a Mezon event. The handler is invoked every time the event fires. * * @param event Event enum value from `Events` (e.g. `Events.ChannelMessage`, `Events.TokenSend`). * * @example * ```ts * @On(Events.ChannelMessage) * async onMessage(@ChannelMessagePayload() message: Nezon.ChannelMessage) { * console.log('Incoming message:', message.content.t); * } * ``` */ export declare function On(event: Events | string): MethodDecorator; /** * Subscribes a method to a Mezon event but automatically removes the handler after the first call. * * @param event Event enum value from `Events` (e.g. `Events.Ready`, `Events.ChannelCreated`). * * @example * ```ts * @Once(Events.Ready) * onReady() { * console.log('Bot is ready!'); * } * ``` */ export declare function Once(event: Events | string): MethodDecorator; export declare function OnMention(): MethodDecorator;