UNPKG

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