yaml-cfn.d.ts
 1  /**
 2   * Serializes the given data structure into valid YAML.
 3   *
 4   * @param obj the data structure to serialize
 5   * @returns a string containing the YAML representation of {@param obj}
 6   */
 7  export declare function serialize(obj: any): string;
 8  /**
 9   * Deserialize the YAML into the appropriate data structure.
10   *
11   * @param str the string containing YAML
12   * @returns the data structure the YAML represents
13   *   (most often in case of CloudFormation, an object)
14   */
15  export declare function deserialize(str: string): any;