| 2 | import { Language } from '../proto/exa/codeium_common_pb/codeium_common_pb'; |
| 3 | |
| 4 | export interface TextAndOffsets { |
| 5 | // The smart concatenation of all notebook cells, or just the text of the main document. |
| 6 | text: string; |
| 7 | // The offset into the current cell/document. |
| 8 | utf8ByteOffset: number; |
| 9 | // Any additional offset induced by the smart concatenation. |
| 10 | additionalUtf8ByteOffset: number; |
| 11 | } |
| 12 | |
| 13 | const NOTEBOOK_LANGUAGES = { |
| 14 | [Language.PYTHON]: 'python', |
nothing calls this directly
no outgoing calls
no test coverage detected