import type { Text } from '@codemirror/state'; import type { SyntaxNode } from '@lezer/common'; /** * Get the text for the given range from the given codemirror text. * @internal */ export declare function getTextFromRange({ from, to }: { from: number; to: number; } | SyntaxNode, doc?: Text | string): string;