import { CustomerParams } from '../index'; export interface SubmitCustomerExecConfig { /** * 提交的地址 */ url: string; /** * 提交的方式 */ method: string; /** * 提交的数据 */ data: Object | string; /** * 返回值验证 */ retCheckPattern?: string; /** * 返回值映射 */ retMapping?: Object; /** * 提示的错误信息 */ retErrorMsg?: string; retErrMsg?: string; /** * 使用application/x-www-form-urlencoded格式进行提交 */ formSubmit?: boolean; /** * 将提交的值写入到当前的数据模型 */ export?: Object; /** * 返回值映射的字段 */ namespace?: string; } export declare function submitCustomer(config: SubmitCustomerExecConfig, params: CustomerParams): Promise;