import { EventIterator, EventIteratorOptions } from '@klasa/event-iterator'; import type { DMChannel } from '../../caching/structures/channels/DMChannel'; import type { GuildTextChannel } from '../../caching/structures/channels/GuildTextChannel'; import type { Message } from '../../caching/structures/Message'; /** * An asynchronous iterator responsible for iterating over messages. * @since 0.0.1 */ export declare class MessageIterator extends EventIterator { /** * Construct's a new MessageIterator. * @since 0.0.1 * @param channel The channel to listen for messages. * @param options Any additional options to pass. */ constructor(channel: GuildTextChannel | DMChannel, options?: EventIteratorOptions); }