import { LegacyCommand, CommandOptions } from '../../legacy-command'; import { Doc } from '../../../search/indexer'; export default class Search implements LegacyCommand { name: string; description: string; alias: string; opts: CommandOptions; loader: boolean; private: boolean; migration: boolean; action([query]: [string[]], { scope, reindex }: { scope: string; reindex: boolean; }): Promise; report(searchResults: Array): string; }