import * as pulumi from "@pulumi/pulumi"; /** * Returns the first match of a regular expression in a string (including named or indexed groups). */ export declare function regex(args: RegexArgs, opts?: pulumi.InvokeOptions): Promise; export interface RegexArgs { pattern: string; string: string; } export interface RegexResult { readonly result: any; } /** * Returns the first match of a regular expression in a string (including named or indexed groups). */ export declare function regexOutput(args: RegexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface RegexOutputArgs { pattern: pulumi.Input; string: pulumi.Input; }