import { DOn, DDiscord, DGuard, Client, DCommand, DCommandNotFound, ArgsOf, DiscordEvents, Modifier } from "../.."; export declare class MetadataStorage { private static _instance; private _events; private _commands; private _commandNotFounds; private _guards; private _discords; private _modifiers; static get instance(): MetadataStorage; static clear(): void; get events(): readonly DOn[]; get discords(): readonly DDiscord[]; get commands(): readonly DCommand[]; get commandsNotFound(): readonly DCommandNotFound[]; addModifier(modifier: Modifier): void; addOn(on: DOn): void; addCommand(on: DCommand): void; addCommandNotFound(on: DCommandNotFound): void; addGuard(guard: DGuard): void; addDiscord(discord: DDiscord): void; build(): Promise; removeEvent(event: DOn): DOn; trigger(event: Event, client: Client, once?: boolean): (...params: ArgsOf) => Promise; }