import { Connection } from '../../../skychat/Connection.js'; import { GlobalPlugin } from '../../GlobalPlugin.js'; /** * One element that can be customized */ export type CustomizationElementValue = { id: number; name: string; value: any; }; export type CustomizationElements = { [key: string]: CustomizationElementValue[]; }; export declare class CustomizationPlugin extends GlobalPlugin { /** * Key used to store the color */ static KEY_COLOR: string; /** * All possible customization keys/values */ static readonly ITEMS: CustomizationElements; static readonly commandName = "custom"; readonly minRight = 0; readonly rules: { custom: { minCount: number; maxCount: number; params: { name: string; pattern: RegExp; info: string; }[]; }; }; /** * Default values */ static readonly defaultDataStorageValue: { [x: string]: string; }; run(alias: string, param: string, connection: Connection): Promise; /** * Send the list of all items to the new connection * @abstract * @param connection */ onNewConnection(connection: Connection): Promise; }