export declare const readYaml: (path: string) => any; export declare const groupByAndPluckFirst: (arr: T[], fn: (item: T) => string) => { [key: string]: T; }; export declare const flattenKeyToProp: (obj: { [key: string]: T; } | undefined, prop: string) => U[]; export declare const addOneIndexedOrder: (arr: T[]) => (T & { order: number; })[]; /** * Convert an Error instance to a plain object, including all its non-iterable properties. * @param err Error to convert to Object * @returns Object representation of the error */ export declare const errToObj: (err: any) => any;