import { Connection } from '../../../skychat/Connection.js'; import { GlobalPlugin } from '../../GlobalPlugin.js'; import { User } from '../../../skychat/User.js'; export type BlackList = Array; export declare class BlacklistPlugin extends GlobalPlugin { static readonly defaultDataStorageValue: never[]; static readonly MAX_BLACKLIST = 10; static readonly commandName = "blacklist"; static readonly commandAliases: string[]; static hasBlacklisted(user: User, username: string): boolean; readonly minRight = 0; readonly rules: { blacklist: { minCount: number; maxCount: number; coolDown: number; params: { name: string; pattern: RegExp; info: string; }[]; }; unblacklist: { minCount: number; maxCount: number; coolDown: number; params: { name: string; pattern: RegExp; info: string; }[]; }; }; run(alias: string, param: string, connection: Connection): Promise; handleBlacklist(param: string, connection: Connection): Promise; handleUnblacklist(param: string, connection: Connection): Promise; }