import { ActiveRecord, Pagination, QueryContext, QueryVariables, RuntimeAction, RuntimeViewAction } from '@oinone/kunlun-engine';
import { Condition } from '@oinone/kunlun-request';
import { IQueryPageResult, ISort } from '@oinone/kunlun-service';
import { BaseElementListViewWidget } from '../../../basic';
import { ActionPermission } from './type';
export declare class AppsGalleryWidget extends BaseElementListViewWidget {
    initialize(props: any): this;
    private disableClick;
    private createAppDialogFormWidget;
    private updateAppDialogFormWidget;
    private bindAppHomepageDialogFormWidget;
    private addFormViewData;
    protected executeInvisibleExpress(invisible?: string | boolean): boolean;
    private moduleCategory;
    private reloadAppFinder$;
    protected get defaultPageSize(): number;
    protected get modelActions(): RuntimeAction[];
    protected get actionPermission(): ActionPermission;
    protected get hasExportAction(): boolean;
    protected get exportAction(): {
        exportModelAction: RuntimeViewAction;
        exportUiAction: RuntimeViewAction;
        exportWorkFlowAction: RuntimeViewAction;
        exportEipAction: RuntimeViewAction;
        exportDataAction: RuntimeViewAction;
        exportMicroFlowAction: RuntimeViewAction;
        exportPrintAction: RuntimeViewAction;
    };
    protected get hasImportAction(): boolean;
    protected get importAction(): {
        importModelAction: RuntimeViewAction;
        importUiAction: RuntimeViewAction;
        importWorkFlowAction: RuntimeViewAction;
        importEipAction: RuntimeViewAction;
        importDataAction: RuntimeViewAction;
        importMicroFlowAction: RuntimeViewAction;
        importPrintAction: RuntimeViewAction;
    };
    protected get hasSyncAction(): boolean;
    protected get syncAction(): {
        syncModelAction: RuntimeViewAction;
        syncUiAction: RuntimeViewAction;
        syncWorkFlowAction: RuntimeViewAction;
        syncEipAction: RuntimeViewAction;
        syncDataAction: RuntimeViewAction;
        syncMicroFlowAction: RuntimeViewAction;
        syncPrintAction: RuntimeViewAction;
    };
    protected get moreActions(): ({
        displayName: string;
        icon: string;
        hasBorderBottom: boolean;
        visible: (record: any) => boolean;
        exe: (record: any) => void;
        children?: undefined;
    } | {
        displayName: string;
        icon: string;
        visible: (record: any) => any;
        exe: (record: any) => void;
        hasBorderBottom?: undefined;
        children?: undefined;
    } | {
        displayName: string;
        icon: string;
        visible: (record: any) => boolean;
        children: {
            displayName: string;
            icon: string;
            visible: (record: any) => boolean;
            exe: (record: any) => void;
        }[];
        hasBorderBottom?: undefined;
        exe?: undefined;
    })[];
    private onLikeApp;
    private onUnLikeApp;
    private fetchTree;
    private onChangeCategory;
    queryPage<T = ActiveRecord>(condition: Condition, pagination: Pagination, sort: ISort[], variables: QueryVariables, context: QueryContext): Promise<IQueryPageResult<T>>;
    clickCreateViewAction(): Promise<void>;
    clickUpdateViewAction(record: any): Promise<void>;
    clickBindHomepageViewAction(record: any): Promise<void>;
    bindAppHomepage(): Promise<boolean>;
    isPending: boolean;
    initAppFormWidget(widget: any, initData: any, viewName: any, xml: any, title: any, confirmFun: any): Promise<void>;
    protected mounted(): Promise<void>;
}
export default AppsGalleryWidget;
