import { ActionRow, TextChannel, GuildMember, User, InteractionCollector, ButtonInteraction, CacheType } from 'discord.js'; import { Message, MessageOptions } from '../types'; declare const _default: { new (channel: TextChannel | { send: (content: MessageOptions) => Promise; }, content: MessageOptions): { /** Channel object or an object with send as a function which returns a `Message`. */ channel: TextChannel | { send: (content: MessageOptions) => Promise; }; /** The content to send. */ content: MessageOptions; /** UserId of person who can delete the message using the button. */ user?: string; /** Object which contains the message. */ message: Message; /** Button collector used to collect interactions. */ collector: InteractionCollector>; /** The time after which the button collector stops (in milliseconds). */ time: number; filter(interaction: ButtonInteraction): boolean; generateButton(disabled?: boolean): ActionRow; start(member?: GuildMember | User): Promise; stop(): Promise; _handleInteraction(interaction: ButtonInteraction): Promise; }; }; export = _default;