/** * Command-related decorators for bot commands and command handling */ /** * Command decorator for marking methods as event handlers * Required for DeleteMemberController, ErrorController, FeedController, NewMemberController, UnknownController */ export declare function Command(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor; /** * Decorator for bot commands with automatic command matching */ export declare function BotCommand(commands: string | string[], descriptionOrOptions?: string | { description?: string; category?: string; }): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator for help commands that automatically generates help text from registered commands */ export declare function HelpCommand(commands: string | string[]): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Helper function to get the full command with prefix for a controller and method */ export declare function getFullCommand(controllerConstructor: Function, methodFunction: Function, baseCommand: string): string; /** * Helper function to check if a message matches a command */ export declare function isCommandMatch(messageText: string, fullCommand: string): boolean; /** * Prefix decorator for classes (sets default prefix for all commands in the controller) */ export declare function Prefix(prefix: string): (constructor: T) => T; /** * Prefix decorator for methods (sets prefix for specific command, overrides class prefix) */ export declare function MethodPrefix(prefix: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; //# sourceMappingURL=command.d.ts.map