import type Command from '../Command'; import type CommandDispatcher from '../CommandDispatcher'; import type CommandNode from '../tree/CommandNode'; import CommandContext from './CommandContext'; import type ParsedArgument from './ParsedArgument'; import ParsedCommandNode from './ParsedCommandNode'; import StringRange from './StringRange'; import SuggestionContext from './SuggestionContext'; export default class CommandContextBuilder { private args; private rootNode; private nodes; private dispatcher; private source; private command; private child; private range; private modifier; private forks; constructor(dispatcher: CommandDispatcher, source: S, rootNode: CommandNode | null, start: number); withSource(source: S): CommandContextBuilder; getSource(): S; getRootNode(): CommandNode | null; withArgument(name: String, argument: ParsedArgument): CommandContextBuilder; getArguments(): Map>; withCommand(command: Command): CommandContextBuilder; withNode(node: CommandNode, range: StringRange): CommandContextBuilder; copy(): CommandContextBuilder; withChild(child: CommandContextBuilder): CommandContextBuilder; getChild(): CommandContextBuilder | null; getLastChild(): CommandContextBuilder | null; getCommand(): Command; getNodes(): Array>; build(input: string): CommandContext; getDispatcher(): CommandDispatcher; getRange(): StringRange; findSuggestionContext(cursor: number): SuggestionContext; } //# sourceMappingURL=CommandContextBuilder.d.ts.map