type ReplaceItem = { oldString: string; newString: string; }; type ReplaceStringsProps = { contents: string; items: ReplaceItem[]; }; /** * Replace all occurrences of the the string with the new ones * * @param contents The parsed contents of the file * @param items An array of items to be replaced in the contents, each of them has 'oldString' and 'newString' * @returns */ export declare const replaceStrings: ({ contents, items, }: ReplaceStringsProps) => Promise; /** * Delete the portion of the string from "startIndex" to "endIndex" inclusively * @param content * @param startIndex * @param endIndex * @returns */ export declare const indexStringCutter: ({ content, startIndex, endIndex, }: { content: string; startIndex: number; endIndex: number; }) => string; export declare const getStrInBetween: (searchTerm: string, start: number, end: number) => string | null; export {};