import _api from './api' import _libs from './libs' import types from './types' // import redux from './redux' export const api = _api export const libs = _libs export default { api: _api, libs: _libs, types, // redux, } declare global { export type TDeliveryType = 'takeaway' | 'shop' | 'storeDelivery' | 'table' export type TPaymentMethod = 'cash' | 'alipay' | 'wechat' | 'visa' | 'master' | 'ae' | 'octopus' | 'creditsales' export type TOrderStatus = 'pending' | 'paid' | 'cancelled' export type TOrderTakeawayStatus = 'pending' | 'confirmed' | 'ready' | 'completed' | 'cancelled' | 'delivered' export type TOrderBatchStatus = 'pending' | 'locked' | 'submitted' | 'cancelled' | 'confirmed' export type PropertyPath = string | number | symbol | ReadonlyArray }