import type { Range } from './Range'; interface ReplaceFunction { (offsetText: string, foundText: string): Node; } declare class Replacement { foundText: string; text: string; range: Range; replaceFunction: ReplaceFunction; constructor(text: string, foundText?: string); replace(): Node | null; } export { Replacement, ReplaceFunction, Range };