interface UpdateFormResponse extends HttpResponse {
    result?: {
        form_id: string;
        chain_id: string;
        url: string;
        short_url: string;
        render_url: string;
    };
}
export declare const saveForm: (callback?: () => void) => Promise<UpdateFormResponse>;
export declare const updateSetting: () => Promise<any>;
export declare const applyFrom: (result: any) => void;
export declare const getForm: (id: string, eacb?: string) => Promise<any>;
export declare const getTemplate: (tid: string) => Promise<any>;
export declare const getDefaultForm: () => void;
export declare const getForm2: (unionid: string) => Promise<any>;
export declare const submitFormData: (formStore: FormStore) => Promise<HttpResponse | undefined>;
export declare const postUploadAnswerFile: (data: {
    form_id: string;
    file_name: string;
    file_path: string;
    file_size: any;
}) => Promise<any>;
export declare const getUploadLimit: (uid: string) => Promise<any>;
/** 临时文件条目（与后端 /v1/tempFile 接口字段对齐） */
export interface TempFileItem {
    type: "image";
    url: string;
    name: string;
    size: number;
    latitude?: number;
    longitude?: number;
    address?: string;
    nickname?: string;
    uploadMethod?: string;
    uploadTime?: number;
}
/**
 * 保存临时文件列表，获取临时 id
 * @description 跳转小程序上传页前，将当前已有的图片数据保存到服务端，
 *   获取临时 id(tid) 后通过 URL 参数传递给小程序页。
 */
export declare const saveTempFileList: (files: TempFileItem[]) => Promise<{
    tid: string;
    expire: number;
}>;
/**
 * 根据 tid 查询小程序上传页已上传的临时文件列表
 * @description 小程序上传页上传完成后，会重定向回表单页并附带
 *   `?tempFileId=xxx` 查询参数；落地页 widget 在 onMounted 拿到 tempFileId 后调用本接口，
 *   将返回的图片列表渲染到上传网格。
 */
export declare const getTempFileList: (tid: string) => Promise<TempFileItem[]>;
export declare const getForm3: (id: string) => Promise<any>;
export declare const getSumitData: (id: string) => Promise<any>;
export declare const editFormData: ({ answer, form_id, fake_id }: {
    answer: any;
    form_id: any;
    fake_id: any;
}) => Promise<any>;
export declare function getSearchInfo(chain: string, password?: any): Promise<{
    status: any;
    msg: any;
    result: any;
}>;
export declare function createOpenSearch(params: any): Promise<void>;
export declare function putOpenSearch(params: any): Promise<void>;
export declare function deleteOpenSearch(params: any): Promise<void>;
export declare function setOpenSearchStatus(params: any): Promise<any>;
export declare function getOpenSearchList(): Promise<any>;
export declare function getWidgets(id: string): Promise<{
    status: any;
    result: any;
    msg: any;
}>;
export declare function addExtraLink(source: string): Promise<{
    status: any;
    result: any;
    msg: any;
}>;
export declare function getList(): Promise<{
    status: any;
    result: any;
    msg: any;
}>;
export declare function deleteLink(id: number): Promise<{
    status: any;
    result: any;
    msg: any;
}>;
export declare function setJumpLink(url: any): Promise<{
    status: any;
    url: any;
    id: any;
}>;
export declare function getLinkStatus(id: any): Promise<{
    status: any;
    result: any;
    msg: any;
}>;
export declare function cancelAppointment(data: {
    form_id: string;
    answer_id: string;
}): Promise<any>;
export declare function getAnswerListByD(data: {
    deviceid: string;
    form_id: string;
}): Promise<any>;
export declare function answerDetail(data: {
    answer_id: string;
    eacb: string;
}): Promise<any>;
export declare function answerDetailExplain(data: {
    answer_id: string;
}): Promise<any>;
export declare function getAppointmentTempUse(type: string): Promise<any>;
export declare function getMiniProgramUrl(): Promise<any>;
export {};
