/** How to determine where to terminate the completion to the current block. */ export declare enum BlockMode { /** * Parse the context + completion on the client using treesitter to * determine blocks. */ Parsing = "parsing", /** * Let the server parse out blocks and assume that the completion terminates * at the end of a block. */ Server = "server", /** * Runs both the treesitter parsing on the client plus indentation-based * truncation on the proxy. */ ParsingAndServer = "parsingandserver", /** * Client-based heuristic to display more multiline completions. * It almost always requests a multiline completion from the server and tries to break it up to something useful on the client. * * This should not be rolled out at the moment (latency impact is high, UX needs further fine-tuning), * but can be used for internal experimentation. */ MoreMultiline = "moremultiline" } export declare function shouldDoParsingTrimming(blockMode: BlockMode): boolean; export declare function shouldDoServerTrimming(blockMode: BlockMode): boolean; //# sourceMappingURL=config.d.ts.map