export declare enum Eftpos {
    Payo = "payo",
    Tyro = "tyro",
    Windcave = "windcave",
    Stripe = "stripe",
    Linkly = "linkly",
    Huifu = "huifu",
    MX51 = "mx51",
    AdyenPos = "adyenpos",
    AdyenAlipay = "adyenalipay",
    AdyenWechat = "adyenwechat"
}
/** 需要设置商家参数的厂商类型 */
export declare const TYPES_WITH_MERCHANT_SETTINGS: Set<Eftpos>;
export declare enum DeviceEnum {
    /** 新增 */
    Add = "add",
    /** 编辑 */
    Edit = "edit",
    /** 重新链接 */
    Repair = "repair"
}
export declare type DeviceStatus = `${DeviceEnum}`;
/** 设备配置信息 */
export interface DeviceProp {
    /** 设备id */
    id?: string | number;
    /** 设备名称 */
    name: string;
    /** 设备类型(厂商) */
    type: Eftpos.Tyro;
    /** 设备状态 */
    status: "unpaired" | "paired";
    /** 设备设置(商户配置) */
    setting: {
        [key: string]: unknown;
    } | null;
    /** 设备设置(第三方配置) */
    connection: {
        [key: string]: unknown;
    } | null;
    [key: string]: unknown;
}
/**
 * @title: 获取表单结果数据
 * @description: 获取表单结果数据
 * @param {any} list 表单配置信息
 * @return {*} 表单结果信息
 * @Author: hongbing.wang
 * @Date: 2024-08-19 11:10
 */
export declare const getDefaultValue: (list: any) => any;
/**
 * @title: 构建通用表单配置信息,构建动态表单
 * @description:
  * @param {any} field : array 字段信息 value 结果信息,name 上级字段信息用于嵌套, getComm  : 获取字段组件配置信息
 * @return form 表单配置信息
 * @Author: hongbing.wang
 * @Date: 2024-08-19 11:11
 */
export declare function getCommByFields({ field, value, name, getComm, }: {
    field: (string | {
        name: string;
        children: string[];
    })[];
    value?: any;
    name?: string[];
    getComm: (params: {
        field: string;
        value?: unknown;
    }, record?: any) => any;
}): Promise<any>;
