import * as pulumi from "@pulumi/pulumi"; /** * Decodes a string containing CSV-formatted data and produces a list of maps representing that data. * The first line of the CSV data is interpreted as a "header" row: the values given * are used as the keys in the resulting maps. * Each subsequent line becomes a single map in the resulting list, * matching the keys from the header row with the given values by index. * All lines in the file must contain the same number of fields, * or this function will produce an error. * Follows the format defined in RFC 4180. */ export declare function csvdecode(args: CsvdecodeArgs, opts?: pulumi.InvokeOptions): Promise; export interface CsvdecodeArgs { input: string; } export interface CsvdecodeResult { readonly result: { [key: string]: string; }[]; } /** * Decodes a string containing CSV-formatted data and produces a list of maps representing that data. * The first line of the CSV data is interpreted as a "header" row: the values given * are used as the keys in the resulting maps. * Each subsequent line becomes a single map in the resulting list, * matching the keys from the header row with the given values by index. * All lines in the file must contain the same number of fields, * or this function will produce an error. * Follows the format defined in RFC 4180. */ export declare function csvdecodeOutput(args: CsvdecodeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface CsvdecodeOutputArgs { input: pulumi.Input; }