export as namespace YAML;
export = YAML;

declare namespace YAML {
    function load(path: string): any;

    function load(path: string, callback: (res: any) => void): void;

    function stringify(nativeObject: any, inline?: number, spaces?: number): string;

    function parse(yamlString: string): any;
}
