1 | export as namespace YAML;
|
2 | export = YAML;
|
3 |
|
4 | declare namespace YAML {
|
5 | function load(path: string): any;
|
6 |
|
7 | function load(path: string, callback: (res: any) => void): void;
|
8 |
|
9 | function stringify(nativeObject: any, inline?: number, spaces?: number): string;
|
10 |
|
11 | function parse(yamlString: string): any;
|
12 | }
|