import { RuntimeViewAction } from '@oinone/kunlun-engine';
import { ReturnPromise } from '@oinone/kunlun-shared';
import { ClickResult } from '../../typing';
import { ActionWidget } from '../component';
export declare class ViewActionWidget extends ActionWidget<RuntimeViewAction> {
    initialize(config: any): this;
    /**
     * @description 根据当前action对应的api xml配置，获取`跳转/打开弹窗`的时候要带上的条件
     * 如果当前action的queryType是domain
     *  就传递domain
     *
     * 如果当前action的queryType是list，
     *  就根据xml配置传递`数组对象` [{id: 'xxx', name: 'xxx', user: {name: 'xxx',age: 'xxx'}},{id: 'xxx', name: 'xxx', user: {name: 'xxx',age: 'xxx'}}]
     *
     * 如果当前action的queryType是object，
     *  就根据xml配置传递`对象` {id: 'xxx', name: 'xxx', user: {name: 'xxx',age: 'xxx'}}
     *
     *
     * @example by xml
     *
     * <action refs="xxxx" displayName="启动" loadApi="load">
     *   <api>
     *     <request>
     *      <field name="id">${activeRecord.id}</field>
     *      <field name="name">${activeRecord.name}</field>
     *      <field name="user">
     *        <field name="name">${activeRecord.user.name}</field>
     *        <field name="age">${activeRecord.user.age}</field>
     *      </field>
     *     </request>
     *   </api>
     * </action>
     *
     *
     */
    /**
     * 将xml中的aip配置，解析成 key -> value形式的对象，
     * 如果value是个表达式，那么会原封不动的返回，该函数不处理表达式，只做转换
     *
     * @param {Object} parentCondition 外层的对象
     * @param {IDslNode[]} childrenDsl
     *
     * @returns {void}
     */
    private resolveChildrenCondition;
    protected clickAction(): ReturnPromise<ClickResult>;
}
