/** @module read-file-json
 */
declare module "read-file-json" {
    /**
     * @function
     * @param {string} file Path to a file
     * @returns {Promise<Object|null>} Object returned from json5.parse(fileString)
     * @example
     * import readFileJson from "read-file-json"
     * const result = await readFileJson("package.json")
     * result.version === "1.2.3"
     */
    export default function(file: string): Promise<object | null>;
}