import { EntityDict } from '../oak-app-domain'; import { BRC } from '../types/RuntimeCxt'; export declare const shipProjection: EntityDict['ship']['Projection']; /** * 手机号掩码(130****0000) * @param phone */ export declare function maskPhone(phone: string): string; /** * 小程序发货信息录入 * @param shipInfo * @param context * @returns */ export declare function uploadShippingInfo(shipId: string, context: BRC): Promise; /** * 获取小程序订单状态 * @param context * @param shipId * @returns */ export declare function getOrderShipState(context: BRC, shipId: string): Promise; /** * 刷新小程序订单状态(自动确认收货) * @param context * @param shipId * @returns */ export declare function refreshMpOrderShipState(shipId: string, context: BRC): Promise | undefined>; /** * 刷新ship的物流状态 * @param ship * @param context * @returns */ export declare function refreshShipState(shipId: string, context: BRC): Promise | undefined>; /** * 小程序确认收货提醒 */ export declare function notifyConfirmReceive(shipId: string, context: BRC): Promise;