export declare const ensureArray: (value: T | T[]) => T[]; export declare const readJSON: (path: string) => Promise; export declare const writeJSON: (path: string, value: unknown) => Promise; /** * Applies the "replacer" function to primitive keys and properties of the object, * mutating it in-place. */ export declare const mutateObjectPrimitives: (obj: any, replacer: (value: any) => any) => any;