declare function fileToJson(filename: string, { type }?: { type?: string | undefined; }): Promise; export { fileToJson as default, fileToJson };