import { ApiUrls, SearchFields, PageFieldInfo } from '../../components/types';
export interface FormDataProp {
    /**
     * 主键
     */
    primaryKey: string;
    /**
     * 表单验证规则
     */
    rules: Record<string, any>;
    /**
     * 是否有数据
     */
    hasData: boolean;
    /**
     * 属性映射关系
     */
    fieldMappingList: Array<any>;
    /**
     * 数据源
     */
    dataSource: Record<string, any>;
    /**
     * 日期属性
     */
    dateFields: string[];
    /**
     * 关联表
     */
    relationTables: Record<string, any>;
    /**
     * 接口地址
     */
    dataUrl: ApiUrls | any;
    /**
     * 错误日志
     */
    errorMsg: string;
    /**
     * 搜索属性
     */
    searchFormData: SearchFields;
    /**
     * 表单属性
     */
    tableFieldList: PageFieldInfo;
    /**
     * 流程节点
     */
    processDefineNodes: Array<any>;
}
/**
 * 获取动态表单数据
 * @param formId
 */
export declare const loadDynamicFormData: (formId: string, itemType?: string) => Promise<FormDataProp>;
/**
 * 获取业务数据
 * @param url
 * @param businessKeyValue
 */
export declare function loadBusinessData(url: ApiUrls, businessKeyValue: string): Promise<{
    data: any;
    error: string;
}>;
/**
 * 获取视图属性
 * @param param 视图Token
 */
export declare function viewColumns(param: string): Promise<{
    formDatas: any;
    columns: any;
}>;
/**
 * 获取视图列表
 * @param viewToken
 * @param currentPage
 * @param pageSize
 * @param conditions
 */
export declare function viewDataList(viewToken: string, currentPage: number, pageSize: number, conditions: any): Promise<{
    viewDatas: any;
    error: any;
}>;
/**
 * 将sql类型转换为组件
 * @param type
 */
export declare function sqlTypeConvertCompType(type: string): "datetime" | "input" | "number";
