import { DataStore } from './base/DataStore'; import { EmojiResolvable } from '../../util/Util'; import type { EventIteratorOptions } from '@klasa/event-iterator'; import type { Client } from '../../client/Client'; import type { MessageReaction } from '../structures/messages/reactions/MessageReaction'; import type { Message } from '../structures/Message'; /** * The store for {@link MessageReaction message reactions}. * @since 0.0.1 */ export declare class MessageReactionStore extends DataStore { /** * The {@link Message message} this store belongs to. * @since 0.0.1 */ readonly message: Message; /** * Builds the store. * @since 0.0.1 * @param client The {@link Client client} this store belongs to. * @param message The {@link Message message} this store belongs to. */ constructor(client: Client, message: Message); /** * Adds a reaction to the message. * @param emoji The emoji to be added as a reaction to this message. * @since 0.0.1 * @see https://discord.com/developers/docs/resources/channel#create-reaction */ add(emoji: EmojiResolvable): Promise; /** * Deletes all reactions on a message. * @since 0.0.1 * @see https://discord.com/developers/docs/resources/channel#delete-all-reactions */ remove(): Promise; /** * Deletes a reaction from a message. * @since 0.0.1 * @param emoji The emoji to remove from the message's reactions. * @see https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji */ remove(emoji: EmojiResolvable): Promise; /** * Asynchronously iterator over received reactions. * @since 0.0.1 * @param options Any options to pass to the iterator. */ iterate(options: EventIteratorOptions): AsyncIterableIterator; }