export declare function replaceEnclosed(str: string, start: string, end: string, replaceWith?: string): string;