1 | import * as yaml from 'js-yaml';
|
2 | export declare type DumpOptions = yaml.DumpOptions;
|
3 | export declare type DumpFunction<X> = (x: X, o?: DumpOptions) => string;
|
4 | export declare type TestFunction<X> = (x: X, o?: DumpOptions) => () => void;
|
5 | export declare function mkfn<X>(fn: DumpFunction<X>, options?: DumpOptions): TestFunction<X>;
|
6 | export declare const unsafe: TestFunction<any>;
|
7 | export declare const safe: TestFunction<any>;
|
8 | export declare const pureUnsafe: TestFunction<any>;
|
9 | export declare const pureSafe: TestFunction<any>;
|
10 | export declare const noRefs: TestFunction<any>;
|
11 | export default unsafe;
|