/**
 * Replace a string in a shader function with added options to prepend, append, show warning when not found, and replace all occurrences.
 * @param shader - shader code
 * @param str - string to replace
 * @param newStr - new string to replace with
 * @param replaceAll - replace all occurrences
 * @param prepend - prepend new string to old string
 * @param append - append new string to old string
 * @param _str - optional string to use for replacement. This must be passed if str is a RegExp and append/prepend is true
 * @param warn - log an error in the console when unable to find the find string
 */
export declare function shaderReplaceString(shader: string, str: string | RegExp, newStr: string, { replaceAll, prepend, append, str: _str, warn, }?: {
    replaceAll?: boolean | undefined;
    prepend?: boolean | undefined;
    append?: boolean | undefined;
    str?: string | undefined;
    warn?: boolean | undefined;
}): string;
//# sourceMappingURL=../src/utils/shader-helpers.d.ts.map