import { Text } from "@codemirror/next/text"; export declare class SearchCursor implements Iterator<{ from: number; to: number; }> { private iter; value: { from: number; to: number; }; done: boolean; private matches; private buffer; private bufferPos; private bufferStart; private normalize; private query; constructor(text: Text, query: string, from?: number, to?: number, normalize?: (string: string) => string); private peek; next(): this; private match; } //# sourceMappingURL=cursor.d.ts.map