import type { IEditor } from 'roosterjs-content-model-types'; import type { FindReplaceContext } from './types/FindReplaceContext'; /** * Replace the currently found item or all found items in the editor * @param editor The editor instance * @param context The FindReplaceContext to use * @param replaceText The text to replace with * @param replaceAll Whether to replace all found items */ export declare function replace(editor: IEditor, context: FindReplaceContext, replaceText: string, replaceAll?: boolean): void;