import { ConfigErrorCode } from './Config.types'; /** * Based on `JsonFileError` from `@expo/json-file` */ export declare class ConfigError extends Error { code: ConfigErrorCode; cause?: Error | undefined; constructor(message: string, code: ConfigErrorCode, cause?: Error | undefined); } export declare function errorFromJSON({ name, ...json }: any): Error; export declare function errorToJSON(error: any): any;