import { CommandBase, CommandParser } from '@autobot/common'; import { RichEmbed } from 'discord.js'; import { Doc } from '../_lib/Doc'; /** * */ export declare class DocsCommand extends CommandBase { static readonly PAGE_LENGTH: number; static getEmbedDoc(doc: Doc, page: number, searchedFor: string): RichEmbed; static addPaginationReactions(message: any, showPrev: boolean, showNext: boolean): Promise; constructor(); /** * Called when a command matches config.name. * * @param command Parsed out command * */ run(command: CommandParser): Promise; /** * Send a document, along with emojis * * @param command Parsed out command * @param result Document to send * @param matches Language and term names * @param message? If a message has already been sent, pass it here to overwrite instead * */ static sendDoc(command: CommandParser, result: Doc, matches: string[], message?: any): Promise; /** * Sends results from search, with emojis to choose which document * * @param command Parsed out command * @param results Document to send * @param matches Language and term names * */ static sendResults(command: CommandParser, results: Doc[], matches: string[]): Promise; }