import * as pulumi from "@pulumi/pulumi"; /** * Does a search and replace on the given string. * All instances of search are replaced with the value of replace. * If search is wrapped in forward slashes, it is treated as a regular expression. * If using a regular expression, replace can reference subcaptures in the regular expression by * using $n where n is the index or name of the subcapture. If using a regular expression, * the syntax conforms to the re2 regular expression syntax. */ export declare function replace(args: ReplaceArgs, opts?: pulumi.InvokeOptions): Promise; export interface ReplaceArgs { replace: string; search: string; text: string; } export interface ReplaceResult { readonly result: string; } /** * Does a search and replace on the given string. * All instances of search are replaced with the value of replace. * If search is wrapped in forward slashes, it is treated as a regular expression. * If using a regular expression, replace can reference subcaptures in the regular expression by * using $n where n is the index or name of the subcapture. If using a regular expression, * the syntax conforms to the re2 regular expression syntax. */ export declare function replaceOutput(args: ReplaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface ReplaceOutputArgs { replace: pulumi.Input; search: pulumi.Input; text: pulumi.Input; }