import CommandError from '../CommandError'; import CommandInfo from '../Info/CommandInfo'; import { Interfaces } from '../Interfaces'; export default class SearchResult implements Interfaces.ResultInterface { text?: string; commands?: CommandInfo[]; error?: CommandError; errorReason?: string; static fromSuccess(input: string, matches: CommandInfo[]): SearchResult; static fromError(error: CommandError, reason: string): SearchResult; isSuccess: boolean; constructor(text?: string, commands?: CommandInfo[], error?: CommandError, errorReason?: string); } //# sourceMappingURL=SearchResult.d.ts.map