export interface Config { fallbacks: { [key: string]: undefined | boolean | number | string | { [key: string]: any; } | ((params: any, success: (data?: any) => void, fail: (error: Error) => void) => void); }; errorHandler: (error: Error) => void; /** * - prod:生产环境 * - rc:预发环境 * - alpha:测试环境 * - dev:联调环境 * - debug:开发环境 */ env: 'prod' | 'rc' | 'alpha' | 'dev' | 'debug'; } declare const config: Config; export default config;