Files
personal_site/frontend/node_modules/@aws-cdk/toolkit-lib/lib/util/yaml-cfn.d.ts
T

16 lines
554 B
TypeScript
Raw Normal View History

/**
* Serializes the given data structure into valid YAML.
*
* @param obj - the data structure to serialize
* @returns a string containing the YAML representation of {@param obj}
*/
export declare function serialize(obj: any): string;
/**
* Deserialize the YAML into the appropriate data structure.
*
* @param str - the string containing YAML
* @returns the data structure the YAML represents
* (most often in case of CloudFormation, an object)
*/
export declare function deserialize(str: string): any;
//# sourceMappingURL=yaml-cfn.d.ts.map