import { SessionManager } from '../session/manager.js'; import { type ToolResponse } from './types.js'; import { type RevisionContext } from '@usejunior/docx-core'; export declare function stripSearchTags(text: string): string; /** * Count shared leading characters between two strings. */ export declare function commonPrefixLength(a: string, b: string): number; /** * Count shared trailing characters between two strings, * non-overlapping with a known prefix of length `prefixLen`. */ export declare function commonSuffixLength(a: string, b: string, prefixLen: number): number; export declare function replaceText(manager: SessionManager, params: { file_path?: string; target_paragraph_id: string; old_string: string; new_string: string; instruction: string; normalize_first?: boolean; clean_match?: boolean; clear_highlight?: boolean; bold?: boolean; italic?: boolean; underline?: boolean | string; highlight?: boolean | string; font_size?: number; font_name?: string; color?: string; /** * Internal (not exposed in the MCP tool schema): set by batch_edit, which * preflights the whole step sequence once instead of per step. */ skip_ai_revision_preflight?: boolean; }, ctx?: RevisionContext): Promise; //# sourceMappingURL=replace_text.d.ts.map